Hi to all in the forum!
I'm trying to develop a module for an aplication and i'm basing on an example from the jquery ui dialog
But i'm using radio buttons and a datepicker field but problems occur when i try to add a second row to the table. It just adds the date value but the "motivo" value don't.
I mean everything works fine at the first attempt but at the next it fails.
Here is part of my code:
I think the problem could be because i'm using a radio group with this function.
When i do the first attempt to add something works fine but if i then add another row i don't get value of the radio button.
With this : $( "input[@name='motivo']:checked").val(); i'm trying to get the value from the radio button group which works fine the first time and i get this(using firebug)
[input#motivo1 1,input#motivo2 2,input#motivo3 3] but the next attemp i get just this [input#motivo1,input#motivo2,input#motivo3].
And this the html
But i don't know why works only one time.
Colud someone help me?