IE8 jquery find issues
I have this piece of code, works perfectly in all browswers except IE8 and Chrome
You can choose Yes or NO for each row, this will be like:
html:
<input type="radio" value="1" name="e_male">开发者_运维知识库;
<input type="radio" value="0" name="e_male">
a = $($.find("input[name="+ key +"_"+ k +"]:checked")).val();
this would look for example:
a = $($.find("input[name=e_male]:checked")).val();
IE8, 9 and Chrome returns a as 0
I see now that I had my eyes up my $ and was not seeing the actual problem! this was not the problem, the problem came earlier, but that another question) sorry!
精彩评论