簡體   English   中英

IE11問題click(function()

[英]IE11 issue click(function()

$(document).ready(function(){
  $('#test input[type="radio"]').click(function(){
    $('#test').submit();
  });
});

為什么此功能在IE11上不起作用? 他們是否可以解決此問題?

像這個線程一樣:

https://stackoverflow.com/posts/comments/40783358

用這個,就可以了

$(document).on('click','#test input[type="radio"]',function(){
    //your code here
});

希望這對您有幫助

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM