Ajax Form Not Sending Radio Button Value
RegisterLogin
Ajax Form Not Sending Radio Button Value
Post Description: i have an ajax form that is not sending radio button value when submitted. can you please help me find the rigth code for this problem, i dont know what is the error thats causing this issue
Tags: ajax, form, not, sending, radio, button, value
This Post Was Posted On Aug 01, 2010 By Auting #3515
Post Description: i have an ajax form that is not sending radio button value when submitted. can you please help me find the rigth code for this problem, i dont know what is the error thats causing this issue
Tags: ajax, form, not, sending, radio, button, value
This Post Was Posted On Aug 01, 2010 By Auting #3515
Ajax Form Not Sending Radio Button Value by Auting
this is how my radio button looks like:
<input type="radio" name="sex" value="male"/>
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
perls
#5074 1
i know what you mean, i am stuck witht his problem too
May 05, 2011 Reply Report abuse
webune
#4281 2
i had this problem with one of my forms, this is how i was able to solve it, if the user did not checked any button, it would still give a value. so i wanted no value when it was not check, so i gave it a value of zero, like this:
if(!document.getElementById("text").checked){
poststr += "&text=0";
}
when if the user does not give select a radio button, i just give a value of zero
if(!document.getElementById("text").checked){
poststr += "&text=0";
}
when if the user does not give select a radio button, i just give a value of zero
Nov 23, 2011 Reply Report abuse
©2012 Webune Forums - Thu Dec 13, 2012 4:05 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3