[jQuery] Re: Using multiple selectors

2008-10-14 Thread skankster
You could try: $(document).ready(function() { $('#Test').find('input[name="Prefix"]').css('background- color','yellow'); }); but you should consider getting rid of the table as you can style a form's layout using css for tags like form, fieldset, label, input... On 14 Okt., 22:40

[jQuery] Re: Find labels for input with given class

2008-10-14 Thread skankster
shorter: $('.required').siblings().not('input').append('*'); On 14 Okt., 15:05, skankster <[EMAIL PROTECTED]> wrote: > How about: > > >    $(document).ready(function() { >       $('.required').parent().children().not('input&#x

[jQuery] Re: Find labels for input with given class

2008-10-14 Thread skankster
How about: $(document).ready(function() { $('.required').parent().children().not('input').append('*'); }); Regards, Dirk On 14 Okt., 14:34, Radoslaw Janusz <[EMAIL PROTECTED]> wrote: > Radoslaw Janusz napisał(a): > > > Hello , oh allmighty group ;-), > > I have a number of forms,

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-09 Thread skankster
e(/([\w-]+@([\w-]+\.)+[\w-]+)/, ' href="mailto:$1";>$1'); >     $(this).html(lnk); > > }); > > hope that helps, > - ricardo > > On Oct 7, 3:06 am, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote: > > > > > What about using a reg

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-07 Thread skankster
-for-javascript.html > > Cheers > -- > Ariel Fleslerhttp://flesler.blogspot.com > > On Oct 2, 9:45 am, skankster <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I have a div that contains simple text data with line breaks. I want > > to append a mailt

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-06 Thread skankster
No one? On 2 Okt., 14:45, skankster <[EMAIL PROTECTED]> wrote: > Hi, > > I have a div that contains simple text data with line breaks. I want > to append a mailto link to the email address but so far I have not > been able to select the email. > > The containe

[jQuery] append mailto link to orphan plain text email address

2008-10-02 Thread skankster
Hi, I have a div that contains simple text data with line breaks. I want to append a mailto link to the email address but so far I have not been able to select the email. The container looks something like this: Username: Johnny Email: [EMAIL PROTECTED] With the help of jQuer

[jQuery] Re: Unable to select input by value with variable

2008-08-22 Thread skankster
assTwo).fadeIn('slow'); Regards, Dirk On 22 Aug., 15:17, skankster <[EMAIL PROTECTED]> wrote: > Ok, I solved the issue doing this: > > > $(document).ready(function() { > $('input[name="weAreAllCalledTheSame"]').click(function () { >          

[jQuery] Re: Unable to select input by value with variable

2008-08-22 Thread skankster
;value') + "]"; alert ($ (iwasclicked).length); }; });}); Wondering if this is totally inelegant... On 22 Aug., 14:43, skankster <[EMAIL PROTECTED]> wrote: > Hello, > > I have a form with lots of radio buttons that all h

[jQuery] Unable to select input by value with variable

2008-08-22 Thread skankster
Hello, I have a form with lots of radio buttons that all have the same name. I want to select the one that was clicked by its value. What I am doing is this: $(document).ready(function() { $('input[name="weAreAllCalledTheSame"]').click(function () { if ($(this).attr('checked'))