PDA

Click to See Complete Forum and Search --> : save value with ajax


jason78944545
Jul 4th, 2008, 06:46 PM
hi,
i want save a value to the db by pressing a link or button without reload or open a new window i have see the ajax returning data without refreshing the page but save a value...:confused:
any one know a way to save a value using ajax? i using php
thanks a lot for your help
:)

the182guy
Jul 5th, 2008, 08:59 AM
http://www.w3schools.com/Ajax/Default.Asp

jason78944545
Jul 5th, 2008, 10:04 AM
hi thanks for your help but i only found examples to receive data from the server and i want save data to the server:rolleyes:
there is any example that save data to the server? thanks:)

visualAd
Jul 5th, 2008, 06:11 PM
Javascript makes the request to the server in the same way as the browser. Therefore you would pass the information required by the server; such as the record to update and the value in a HTTP POST request.