All you need to do is to and an input box with the type of text in your markup, call this script and you can now edit your content. When pressing save, NO ajax is happening. This means, that you can use this script with a larger form, that uses a POST to save the data.