|
Yes. The initial switch-over to editing mode is javascript all by itself - no biggie. Actually sending the new data to the server to be saved is done with what we call "AJAX."
You set up the "save" button or whatever to send an http_request using either "post" or "get" (I'd stick with post for this). Then on the server you have a page set up to have the javascript send to that takes the data, validates the input to make sure it's legit, and then updates your database with the new post information.
This is definitely AJAX though, so yeah. You're on the right track.
|