Reputation: 1973
I am using following jquery method
$('form').submit(function(){
$('#universities_selected option').each(function(i) {
$(this).attr("selected", "selected");
});
});
when we submit form this method is called and it checks all the entries in multi select list "universities_selected" and set them as selected....
It works fine in firefox but not working in google chrome.
Upvotes: 1
Views: 224
Reputation: 3261
I think this answers your question:
http://www.corbensproducts.com/cgblog/49/jQuery-and-form-submit-in-Chrome.html
Upvotes: 1