how to get the value from the radio button based on the name stated. I put the cat_ids, cat_ids1, cat_ids2 ( different name in radio button because I got use on it ). Currently I do have more than 100 data where by all catch the different value base on the loop.
I juz wish how can I bring all the different radio button name value and display out wit the message box. The name is from the loop of php......
I hope someone can use short javascript to get the name and the value from the php loop.
<form action="main.cfm?category_id=49&second=y" method="post" name="SiteSearch">
<input name="cat_ids" type="radio" value="1">
<input name="cat_ids" type="radio" value="2">
<input name="cat_ids" type="radio" value="3">
<input name="cat_ids1" type="radio" value="a">
<input name="cat_ids1" type="radio" value="b">
<input name="cat_ids1" type="radio" value="c">
input name="cat_ids2" type="radio" value="java">
<input name="cat_ids2" type="radio" value="php">
<input name="cat_ids2" type="radio" value="asp">
</form>