> jQuery.each(jQuery.browser, function(i, val) {
> if(i=="mozilla" )
> alert("Do stuff for firefox 3")
>
> });
> which is not working what so ever.
i will never == "mozilla"; i is an integer. You need to test val (or
this).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---