dongxiaoshe0737 2018-08-04 08:34
浏览 85

如果上一个文本框有值,则光标焦点移动到按钮

I'm using rfid reader that the student will tap their id and after that it will display their basic info, i have a hidden button on my form, if click it will open a modal that contains several purposes that the student will choose,

Now my problem is on how to move the focus of the cursor the the button and automatic click it if the last text box has value.

Hope you can help me or give me an idea.

  • 写回答

1条回答 默认 最新

  • duanchuo7741 2018-08-04 10:56
    关注

    Probably better of firing a javascript function onclick and then either:

    • Using a function to send formdata via an AJAX function (See this page), or
    • Using javascript to change window.location
    评论

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制