PDA

View Full Version : Save inplace edits



jpaytoncfd
17 Oct 2010, 12:00 PM
I am trying to create a inplace editable website. I have the inplace editing working using jeditable. You can see it here http://paytontest.info/index.php You can dbl click the text and it will turn into a text area. (WYSIWYG coming soon) Once you hit okay you get the new output. But its not saved. refresh the page and it goes back. Because I have several things to edit I want to have one save button that will save the whole page source. (the body of the pages is going to be separate files loaded into a template. ) So I need the save button to take everything between the body tags and overwrite the file. My worry is that if there is a function to save the source it wont save the updates. Just the original source.