Dropdown selection in form not working in Internet Explorer

This is my first question on this site. I have a problem with Internet Explorer. My contact form works fine in Chrome, Safari and FF, but not in IE. Here is the link for my form.

The main problem is that there is no text in the drop-down list, and as a result, no one can send a request through IE. Can anyone help me here?

Other information ... I received an invitation form from: http://tutorialzine.com/2009/09/fancy-contact-form/ There are other smaller problems, such as sample widths vary in different browsers, but I only care about this problem.

Many thanks

+5
source share
2 answers

There are a couple of errors in the code. I would suggest using a javascript debugger. Chrome developer tools have a good one, and

Firebug is good for Firefox too

for Chrome:

Controls - Shift - I to open developer tools

Control - Shift - J to open the Developer Tools and shift focus to the console.

Control - Shift - C to switch the item verification mode

+1
source

Your code lacks commands and brackets for if statements ... although the compiler does not need them, it is good practice to always wrap statements with semicolons and always put a semicolon at the end of each line.

for instance

$("#contact-form").validationEngine({
        inlineValidation: false,
        promptPosition: "centerRight",
        success :  function(){use_ajax=true},
        failure : function(){use_ajax=false;}
     }) // missing semicolon here

and

{

    $.validationEngine.buildPrompt(".jqTransformSelectWrapper","* This field is required","error") // missing semicolon here
    return false;
}

, , , , .

0

All Articles