jQuery UI dialog error in Internet Explorer 9 rc1 -


i trying create landing page, multiple elements trigger jquery ui form, , timer pops form.

it seems work in except ie9, odd, ie9 best 1 far! (</worms>)

i'm using

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script> <script type="text/javascript">     $(function(){          var signup_step = '<?= $step ?>';          $('#signup-lightbox').dialog({  //line 31             width: "457px",             modal: true,             autoopen: false,             closetext: '',             position: ['center','top']         });    //etc </head> <body> <div id="signup-lightbox"><!-- etc --></div> 

script438: object doesn't support property or method 'getelementsbytagname'
jquery.min.js, line 16 character 59007
script438: object doesn't support property or method 'dialog'
landing1, line 31 character 21

anyone have ideas on 1 please? i'm little puzzled, i've never had problems jquery not working in ie. guess might bug ie9rc1, in case, it.

amend, should add trigger code..

$('#navigation a, .profile a, .profile > img, .profile > h2').click(function(e){     e.preventdefault();     amendform();     openlightbox(); });  if($('#signup-lightbox').dialog("isopen") == false && (signup_step == 'index' || signup_step == undefined)){     settimeout(function(){             amendform();             openlightbox();         }, 3000); } 

jquery 1.5.1 (available now) fixes issue. ticket here: http://bugs.jquery.com/ticket/8123


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -