I updated some code on my website now the form will not submit for IE7 and IE8.
The code开发者_JAVA百科 is:
$(".advancedFinder .goBtn").click(function () {
$('#validDestination').hide();
if ($('#DestinationId').val() == '') {
$('#validDestination').show();
return false;
}
$('.indicator').show();
return true;
});
The website with the problem can be viewed at http://gocruising.com.au/ when you click the GO Button under "Advanced Cruise Finder" it call the code ok, but never submits the form. All other browsers seem to work ok.
Javascript is on layout.js line 249
IE may need the type
attribute on the button. Try:
<button class="goBtn" type="submit">Go</button>
精彩评论