javascript - attr not working in IE -
i'm newbie jquery. i'm trying add "input" tag form in different select case.
$(document).ready(function() { $("select[name=inputsource]").change(function() { if (this.value == 3) { eth_input = true; $(".page_ip").attr("form", "broadcastform"); } else { eth_input = false; $(".page_ip").attr("form", ""); } }); });
but attr seems not working ie. search article people suggest use data-* ie browser. problem still need change "form" attribute in order make input form. there anyway apply attr change "form" attribute?
it's not form
attribute isn't being applied code. it's ie doesn't support it (not ie11). details , possible workaround in question , answers (and other questions , answers linked it).
Comments
Post a Comment