post icon

Get Checked Value of Radio Button with jQuery

Come recuperare il value dell’elemento selezionato in un radio button

E’ possibile recuperare il checked value mediante il seguente snippet:

// jquery 1.3 var var_name = $("input[name='radio_name']:checked").val(); // Versioni precedenti var var_name = $("input[@name='radio_name']:checked").val();
19 novembre 2009 @ 14:00

No comments yet.

Leave a comment

Leave a Reply

Are you human? Time limit is exhausted. Please reload CAPTCHA.