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

2008-10-14 Thread skankster
How about: script type=text/javascript $(document).ready(function() { $('.required').parent().children().not('input').append('*'); }); /script Regards, Dirk On 14 Okt., 14:34, Radoslaw Janusz [EMAIL PROTECTED] wrote: Radoslaw Janusz napisał(a): Hello , oh allmighty group ;-),

[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: script type=text/javascript    $(document).ready(function() {       $('.required').parent().children().not('input').append('*');    }); /script Regards, Dirk

[jQuery] Re: Using multiple selectors

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

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

2008-10-09 Thread skankster
:$1;$1/a');     $(this).html(lnk); }); hope that helps, - ricardo On Oct 7, 3:06 am, David C. Zentgraf [EMAIL PROTECTED] wrote: What about using a regular expression match/replace? Seems like an   obvious candidate. On 7 Oct 2008, at 04:38, skankster wrote: No one? On 2 Okt

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

2008-10-07 Thread skankster
://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 mailto link to the email address but so far I have not been able to select the email. The container looks something like this: div id=myId

[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 container looks something like this: div id=myId

[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: div id=myId Username: Johnnybr / Email: [EMAIL PROTECTED] /div

[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: script type=text/javascript $(document).ready(function() { $('input[name=weAreAllCalledTheSame]').click(function () { if

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

2008-08-22 Thread skankster
') + ]; alert ($ (iwasclicked).length); }; });}); /script 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 have the same name. I want to select the one

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

2008-08-22 Thread skankster
'); Regards, Dirk On 22 Aug., 15:17, skankster [EMAIL PROTECTED] wrote: Ok, I solved the issue doing this: script type=text/javascript $(document).ready(function() { $('input[name=weAreAllCalledTheSame]').click(function () {                 if ($(this).attr('checked