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
Post a Comment