javascript - IE Form Attribute -


i have problem internet explorer. have use attribute form, problem doesn't work on internet explorer (compatibility problem). how on jquery?

<button type="submit" id="cancelform" name="cancel" onclick="bcancel=true" form="myform"/> 

i've tryed code

$("#cancelform").click(function() {     bcancel = true;     $("#myform").submit(); }); 

i trying emulate form attribute , bcancel functionality. when press cancel button, submits form, when checks bcancel variable, returns other value.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -