jQuery and IE8 not behaving
Hi There,
Having a problem with IE 8 not behaving properly with jQuery tabs, dialog boxes and not executing javascript.
I have a form that submits to an asp.net mvc site and returns the following to the browser
<
div
id
="EditComplete"
title
="Edit Complete">
Changes Saved.
</
div
> <
script
type
="text/javascript"
language
="javascript">
$(document).ready(
function
(){ $(
"#EditComplete"
).dialog({ buttons: {
"Ok"
:
function
() { $(
this
).dialog(
"close"
); } }, draggable:
false
, show:
'highlight'
, hide:
'highlight'
, modal:
true
, resizable:
false
}); });
</
script
>
Chrome and Firefox do as expected and a dialog box pops up and closes when you click ok. However in IE 8 it just displays the div and does not execute the javascript. Am I missing something or does IE need some special prompting to do what other browsers do properly ?
Cheers,