I´m having a similar problem (I guess):
$("select#selectState").change(function(){
...
$("select#selectSchool").load(url);
});
there´s 2 selectfields, the second one depends on the value chosen in
the first.
what´s being loaded is something like "<option value='xxx'>xxx</option>"
in firefox and safari it works - in IE 6 it doesn´t (if I load the
values without the html-markup I´m able to display them though).
any ideas?
thanks,
patrick
Am 30.08.2006 um 09:58 schrieb Chris Mcleod:
> In the AJAX-loaded files, stick the styles (and any javascript) into
> BODY, rather than HEAD. IE seems to strip HEAD from any AJAX-loaded
> content. I came across this "quirk" myself and it drove me nuts!
>
> Chris
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:discuss-
> [EMAIL PROTECTED] On
> Behalf Of Jim Davis
> Sent: 29 August 2006 20:49
> To: jQuery Discussion.
> Subject: [jQuery] Anomalies using Ajax plugin and IE 6/7
>
> I created a test page to tinker with the Ajax plugin and have noted a
> strange behaviour in IE 6 and 7.
>
> The main test page is: http://www.jimdavis.org/test/jq_ajaxtest.html
>
> The page is loading http://www.jimdavis.org/test/ajax-test.html and
> http://www.jimdavis.org/test/ajax-test2.html using
>
> <script type="text/javascript">
> $(document).ready(function(){
> $("div#left-content").load("ajax-test.html");
> $("div#right-content").load("ajax-test2.html");
> });
> </script>
>
> The files that are being loaded inclue an inline style to float the
> image left and add a little margin and a border.
>
> Viewing the main file http://www.jimdavis.org/test/jq_ajaxtest.html in
> FireFox everything displays as expected. Viewing the same file in IE 6
> or 7 incorrectly shows the text below the image.
>
> Interestingly, the individual files, ajax-test.html and
> ajax-test2.html, display correctly in IE. The text wraps around the
> image as expected.
>
> Could jquery be introducing this problem?
>
> Jim
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
> ______________________________________________________________________
>
> This email has been scanned by Senergy Ltd for viruses.
>
> Powered by MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> ______________________________________________________________________
>
> This email has been scanned by Senergy Ltd for viruses.
>
> Powered by MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/