weixin_33704234 2015-06-03 16:15 采纳率: 0%
浏览 31

Ajax复选框上的辅助功能

I have a bootstrap switch checkbox which triggers an Ajax call. However, its functionality is pretty important and I need to ensure that it will work in any browser. I have a url that handle the request. What I need to know is how can I make the checkbox a "link" to this url if javascript is not enabled.

Note: I don't have a submit button.

  • 写回答

1条回答 默认 最新

  • 笑故挽风 2015-06-03 17:27
    关注

    Have the link in place on page render and remove it with javascript/replace it with the checkbox. This ensures that it's available to those without javascript.

    评论

报告相同问题?

悬赏问题

  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作