Hi Tzury,

I've just released a plugin to work around XML parsing issues by converting
it to JSON. Tested in IE6/7, FF2/3. You might find it useful.

XML 2 JSON Plugin
http://www.fyneworks.com/jquery/xml-to-json/

Cheers,
Diego A.

2008/7/15 Tzury <[EMAIL PROTECTED]>:

>
> the following example  (taken from:
> http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery)
> works fine in FF but not in IE7
>
> dose anyone find a way to make jQuery XML parsing facilities work on
> IE as well?
>
>
>  $(document).ready(function() {
>   // generate markup
>   $("#rating").append("Please rate: ");
>
>   for ( var i = 1; i <= 5; i++ )
>     $("#rating").append("<a href='#'>" + i + "</a> ");
>
>   // add markup to container and apply click handlers to anchors
>   $("#rating a").click(function(e){
>     // stop normal link click
>     e.preventDefault();
>
>     // send request
>     $.post("rate.php", {rating: $(this).html()}, function(xml) {
>       // format and output result
>       $("#rating").html(
>         "Thanks for rating, current average: " +
>         $("average", xml).text() +
>         ", number of votes: " +
>         $("count", xml).text()
>       );
>     });
>   });
>  });
>



-- 
Cheers,
Diego A.

Reply via email to