Updation in database using Ajax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #16
    If I understand you correctly, you want to use a variable as a field. You can use the forms/elements array:
    [code=javascript]document.forms[varContainingFo rmName].elements[varContainingEl emName];
    [/code]

    Comment

    • Shalini Bhalla
      New Member
      • Dec 2007
      • 190

      #17
      My updation is perfactly done now i want to write a code for delete but again stucking ............... ......


      my file code is given above , now i want to delete all searched records ot a same time usin ajax .............ho w to go about it

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #18
        That's good to hear. How did you solve it?

        As for the deletion, that would take place on the server-side. First, get that working. Once you have it working, you need to pass the correct parameters to delete the records most probably as a POST request.

        Comment

        Working...