jQuery validation error on IE8 -


I'm getting the 'object does not support this method or property' error on IE8, that line of code is given below Is:

  $ ('# example-advanced-form'). AjaxForm ({target: '.success', success: work () {$ ('.success'). FadeIn ('fast'); $ ("# contact_form") toggle ("sharp");}});   

Due to this I am using it because FormData does not work below IE10.

Here is a screenshot of the error:

Enter image details here

Here's the full script ...

  & lt; Script type = "text / javascript" & gt; Var form = $ ("# example - advanced-form"). Show (); $ ('# Role') Validate ({// start the plugin rule: {role: {required: true,}}}); Form.steps ({HeaderTag: "H3", BodyTag: "Fields", Transition Effect: "Slide Left", Onset Changing: Function (Event, Current Index, New Index) {// Elleva also allows past action , The current form is not valid! (Current index> New index) {true true;} // In some cases it is necessary that if user returns (clear) (current index & lt; newIndex) {// error Form.find (". Body: eq (" + NewIndex + "label.error") to delete styles. Kalen (); form.find ("body: eq (" + newIndex + ") .error"). RemoveClass ("error");} form.validate () .settings.ignore = ": disabled, hidden"; Return form. Valid ();}, onStepChanged: function (event, current index, first index) {// if (current index === 2 & amp; $ ("input: radio [name = 'workforce']). (": Check")} {form.steps ("next");}}, perfishing: function (event, current index) {form.validate (.) Settings. (= Navigator.appVersion.indexOf ("MSIE 8 . ")! = - 1 || Navigator.Apervision.ind =": disabled "; return form. Valid ();}, succeed: function (event, current index S) {if navigator.appVersion.indexOf ("MSIE 8") = ExOf ("MSIE 9.")! = - 1) {// Warning ("Old IE!"); // Bind 'MyForm' and a simple callback function $ ('# Examples - Advanced-Forms'). AjaxForm ({target: '.success', success: work () {$ ('success.'). Feedin ('sharp'); $ ("# contact_form") toggle ("sharp");}}); } Else {// warning ("not old IE!"); // var m_data = new form data () to be sent to the data server; M_data.append ('name', $ ('input [name = name]'). Val ()); M_data.append ('number', $ ('input [name = number]'). Val ()); M_data.append ('email', $ ('input [name = email]') .val ()); M_data.append ('workfor', $ ('input [name = workfor]: check'). Val ()); M_data.append ('role', $ ('select [name = role]'). Val ()); M_data.append ('cv', $ ('input [name = cv]') [0]. Files [0]); M_data.append ('coverletter', $ ('textarea # coverletter'). Val ()); Instead of // $ .post () we are using $ .jax () //, because $ .gadget () has more options and $ Flexible. Type AJ: ('url:' contact_me.php ', data: m_data, processData: false, contentType: false, type:' POST ', datatype:' Jason ', success: function (response) {// Load from json data server And output message (if response.type == 'error') {// Server and output message from the load server output = '
'' $ ("#contact_form") toggle ("sharp");} $ (".form_message"). Hide (.). Html (output) .slideDown ();}}); } // END browser check coniditonal statement}}). Valid (); & Lt; / Script & gt;

$ .jaxform not a standard method for jQuery is ; Most likely, the script referencing this addiction is failing, or failing in the wrong sequence, the name or location of this script file may be incorrect, or there is an error on the page, or in that plugin Which is causing this to happen, using debugging tools will help to identify the problem (IE Developer Toolkit, Firefox with Firebugs, Dev Tools or Firebugs of Chrome Chrome).

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -