One option would be to use the form plugin:
var value = $('[name=othersTransLInk]').fieldValue();
This will return the value of the selected radio.
Mike
I have a radio button like this one:
input type=radio name=othersTransLink value=familiale
class=radionbsp;Lien familiale
input
I integrated the form plugin.
I tried the following :
$('[name=othersTransLink]').fieldValue()
But it return me an empty string.
I do not have to specify the form or something ?
Something is missing.
malsup wrote:
One option would be to use the form plugin:
var value =
You could also get the value without the Form plugin with this:
$('input[name=othersTransLink]:checked').val()
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 16, 2007, at 10:32 AM, debussy007 wrote:
I integrated the form plugin.
I
Thank you both of you !!! :-))
Dan G. Switzer, II wrote:
I integrated the form plugin.
I tried the following :
$('[name=othersTransLink]').fieldValue()
But it return me an empty string.
I do not have to specify the form or something ?
Something is missing.
If you're using a
The solution with the Form plugin works now,
but I tried without the form plugin with your code but it returns null
Karl Swedberg-2 wrote:
You could also get the value without the Form plugin with this:
$('input[name=othersTransLink]:checked').val()
--Karl
_
Oh ok,
for some reason I have to add @ before name, because I use a version below
1.2.
Thank you !
debussy007 wrote:
The solution with the Form plugin works now,
but I tried without the form plugin with your code but it returns null
Karl Swedberg-2 wrote:
You could also get the
You could also use the :checked selector:
$('input[name=othersTransLink]:checked').val()
Pyro
On Oct 16, 10:11 am, Mike Alsup [EMAIL PROTECTED] wrote:
One option would be to use the form plugin:
var value = $('[name=othersTransLInk]').fieldValue();
This will return the value of the
Dang. I *hate* the delay that sometimes comes into play when posting
to Google Groups. I mean, it makes it look like I ignored the fact
that there were multiple similar responses that read basically the
same.
On closer look, it appears that my response has an earlier datestamp
than many of the
8 matches
Mail list logo