With all the open/close quote, you might write this code:
var i = 123; $(":checkbox:eq(i)").removeAttr("disabled");
Since the selector string is within the quotes, the correct statement should be:
$(":checkbox:eq("+i+")").removeAttr("disabled");
With all the open/close quote, you might write this code:
var i = 123; $(":checkbox:eq(i)").removeAttr("disabled");
Since the selector string is within the quotes, the correct statement should be:
$(":checkbox:eq("+i+")").removeAttr("disabled");
by
Tags:
This saved me today. Thank you!
Leave a Reply