Josh Nathanson schrieb:
> Hi Rick,
>  
> All I can think of is, make sure your selectors are selecting 
> something.  You can do this by interspersing "alert" methods just after 
> you do your selectors.  For example,
>  
> $("input.myclass").each(function() {
> alert(this);
> $(this).dosomething();
> });
>  
> This will tell you exactly what is being selected, as an alert window 
> will pop up telling you what "this" is.

If you're already using Firebug, you could also log the elements to the 
console, so you can better inspect them and have them highlighted in the 
page and so on...:

$("input.myclass").each(function() {
     console.log(this);
});


alert is so 2005 ;-)


-- Klaus

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to