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

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -