Hi John thanks for your code
I solved the attr('name') issue (I was fooled by the reloading)
and I've done a little form checker plugin in a few hours, thanks to
jquery !
Is there a similar project known in the community ?
olivvv
John Resig wrote:
Oliver -
Please make sure that you're using jQuery 1.0.1:
http://jquery.com/src/jquery-1.0.1.js
--John
On 9/17/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:
Wow lots of answers thanks ;)
Unfortunatly this.attr('name') or this.attr('id') are breaking the code.
(No js error but just nothing working anymore)
Klaus Hartl wrote:
Onno Timmerman schrieb:
Olivier Percebois-Garve schreef:
Hi
It seems that there is cases where it is not possible to get attributes.
How to deal with this ?
$(this).val() // works
$(this).name() //not working
$(this).id() //not working
more like $(this.id);
Unfortunatly not.
If $(...).name()/$(...).id() are not working this is bug and will be
fixed. In the meantime you can get away with this:
$(...).attr('id');
$(...).attr('name');
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
|
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/