12
jQuery `.is (": видимий ")` не працює в Chrome
if ($("#makespan").is(":visible") == true) { var make = $("#make").val(); } else { var make = $("#othermake").val(); } Make:<span id=makespan><select id=make></select><span id=othermakebutton class=txtbutton>Other?</span></span><span id=othermakespan style="display: none;"><input type=text name=othermake id=othermake>&nbsp;-&nbsp;<span id=othermakecancel class=txtbutton>Cancel</span></span> Вищевказаний код працює в Firefox, але, здається, не працює в Chrome. У Chrome він показує .is(":visible") = falseнавіть коли він …
207
jquery
google-chrome