jQuery plugin not working after upgrade -


i have jquery version 1.10.2. before upgraded version, using jquery version 1.4 or 1.8. had upgrade because need many of newest jquery plugins. have problem, my jquery edit attributes doesn't work after upgrading 1.10.2. here's code:

<script type="text/javascript"> $(document).ready(function(){     $("#ekerabat").click(function(){         $("#kerja1").attr("disabled",true);         $("#kerja2").attr("disabled",true);         $("#kerja3").attr("disabled",true);         $("#kerja4").attr("disabled",true);         $("#hubungankerabat").attr("disabled",true);         $("#namakerabat").attr("disabled",true);         $("#statuskerabat").attr("disabled",true);         $("#noindukerabat").attr("disabled",true);         $("#unitkerabat").attr("disabled",true);     });      $("#dkerabat").click(function(){         $("#kerja1").removeattr("disabled");         $("#kerja2").removeattr("disabled");         $("#kerja3").removeattr("disabled");         $("#kerja4").removeattr("disabled");         $("#hubungankerabat").removeattr("disabled");         $("#namakerabat").removeattr("disabled");         $("#statuskerabat").removeattr("disabled");         $("#noindukerabat").removeattr("disabled");         $("#unitkerabat").removeattr("disabled");     }); }); </script> 

ekerabat , dkerabat ids of radio buttons, other input tag. when in old version, works great, after upgrading, if click 1 of radio buttons, nothing happens. i've googled issue , changed code use .props, still doesn't work. know should use instead of attr in jquery 1.10.2?

instead of attr() use prop(). can find complete information on below link:

jquery api


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -