I am trying to insert input data into database using Jquery Ajax. I have a web form which include text-box's and radio button list. I am able to insert data, but the problem I am facing is whenever I don't select any data from the radio button an "Undefined"
entry is inserted into respective field of the database table. I want that when the radio button data is not selected at that time nothing should be inserted into database and the respective field remains blank. Please guide me how can I do this.
My aspx page-
<head runat="server">
<title></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
<script type="text/javascript"> ...
Go to the complete details ...