Luey
asked on
javascript not working in ie7
This code works in firefox but not in ie7. It also makes all of my other javascript codes fail in ie7. Does anybody see something wrong with it.
$("#account_info").validate( {
errorPlacement: function (error, element) { //puts the error message beside the label
$('#'+element.attr("id")+'_label').append(error);
},
rules: {
profile_2: { profileNotEqualTo: "#profile_1"}, //profile 1 cannot be equal to profile 2
},
messages: { // custom messages
county_ansi: "Setting your location is required. Please enter a city or zip code to search."
},
submitHandler: function(form) { //submits form and hide button shows loading
$("#loading_box").show();
$("#button_box").hide();
form.submit();
}
});
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will try the semicolon.