vendredi 23 mars 2018

Uncaught TypeError: form.get is not a function while submitting the form

I'm having issue while executing the below code while submitting the form

finally {
  var form = params.data.form;
  var collider = params.data.collider;
  form.get(0)[collider](); //error line
}

The error which I'm getting as:

Uncaught TypeError: form.get is not a function
at HTMLIFrameElement.winLoader (iframe-transport.js:147)
at HTMLIFrameElement.dispatch (jquery-2.1.3.js:4437)
at HTMLIFrameElement.elemData.handle (jquery-2.1.3.js:4123)

Please help me on this issue. Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire