How can I insert posted data into the database?

Insert data in database using ajax.?

  • can u help me with inserting data in the database with ajax plz. like if we click on a radio button then this data shud be sent to the database and the next record shud be fetched and displayed.

  • Answer:

    Wire up an eventhandler for 'CheckedChanged' event of the radiobutton and then do the database processing inside that eventhandler.

hasanabi... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

If you're not already using the jQuery JavaScript library, I highly recommend that you start: http://jquery.com/ This is how you use it to make Ajax requests: http://api.jquery.com/jQuery.ajax/

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.