To test selectors you can also drop $("input.myclass") into the firebug
console and it will show you what it found.
console.log($("input.myclass")); inside your code does the same thing -
great for complex anonymous functions.
Josh Nathanson-2 wrote:
>
> Anybody able to successfully run Validation plugin on IE 7?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.
>
> The reason I think it might be that, is because Firebug won't throw any
> errors if your selectors are empty, and at the same time, your validation
> can only work if the proper fields are selected.
>
> -- Josh
>
>
> ----- Original Message -----
> From: Rick Faircloth
> To: 'jQuery Discussion.'
> Sent: Wednesday, March 07, 2007 11:32 AM
> Subject: [jQuery] Anybody able to successfully run Validation plugin on
> IE 7?
>
>
> Hi, all.
>
> I've been trying to get Jorn's (bassistance.de) Validation plugin
>
> working correctly for 3 days now. Firebug
>
> doesn't complain of any errors.
>
>
> The new beta 1 doesn't work for me in FF or IE.
>
> Jorn's examples run fine. But there don't seem
>
> to be any errors in my code.
>
> Anybody using it successfully?
>
> Thanks.
>
> Rick
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
--
View this message in context:
http://www.nabble.com/Anybody-able-to-successfully-run-Validation-plugin-on-IE-7--tf3364447.html#a9361030
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/