dongqianzong4275 2012-08-09 09:04
浏览 66

从jquery对话框传递数据并在同一对话框中返回结果

I am trying to build an employee break log. Basically, I want to have a jquery popup login form where the credentials will be authenticated. If successfully authenticated, the popup will close and will place the datetime on the cell where employee clicked. the cell will be uneditable after entries have been made.. my html table looks like below.


          break out       break in    lunch out.. so on
personA      X                 X        X
personB      X                 X        X


  • 写回答

1条回答 默认 最新

  • dqxm14187 2012-08-14 02:39
    关注

    With Jquery, you can make a popup window with open().

    Create a form with radio buttons for the break out, break in, etc. and set the display to none. The open() function of Jquery will make it popup.

    <form style="display:none" id="break_popup">
        Break in<input type"radio" name="breakin"/>
        <!-- The rest of your form -->
    </form>
    

    and after in the javascript code, you can call it like this : $("#break_popup").open();

    评论

报告相同问题?

悬赏问题

  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败
  • ¥15 树莓派5怎么用camera module 3啊
  • ¥20 java在应用程序里获取不到扬声器设备
  • ¥15 echarts动画效果的问题,请帮我添加一个动画。不要机器人回答。
  • ¥15 Attention is all you need 的代码运行
  • ¥15 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗