Thanks everybody ...
This thread helped me as well.
I LOVE OPEN SOURCE !
function updateoptns() {
var val = $("input[name='optns']:checked");
alert(val);
}
On Feb 12, 5:22 am, Frederik Ring wrote:
> Hi!
>
> You could do it like this:
>
> $(document).ready(function(){
> $('input:radio[name=\'optns\']').click(function() {
> var optns
Hi!
You could do it like this:
$(document).ready(function(){
$('input:radio[name=\'optns\']').click(function() {
var optns = $(this).val();
alert (optns);
});
});
You'll have to remove your onclick-s then.
On Feb 12, 3:22 pm, "angelochen...@gmail
3 matches
Mail list logo