Click here to Skip to main content
15,905,233 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hallo,
I have the following code in my view in Jquery and was wondering if anyone can assist me in saving the selected flip switch item to the database.
XML
<label for="Perishable">Perishable</label>
<select name="slider" id="flip-c" data-role="slider" data-theme="a" class="required">
              <option value="no">No</option>
              <option value="yes">Yes</option>
 </select>


Any help will be appreciated.
Posted
Updated 26-Mar-12 2:59am
v2
Comments
ZurdoDev 26-Mar-12 8:59am    
So, what have you done so far? You could use jQuery's .ajax call to save to the database.

1 solution

Use the jQuery .ajax() call and then save to the db. http://api.jquery.com/jQuery.ajax/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900