Sorry,
Got it working, was missing the div's.
How can I get to this value from php so that I can connect to my database?
Many Thanks
Chris.
On Mon, Feb 2, 2009 at 4:48 PM, Chris Owen skatee...@gmail.com wrote:
Hi Stephan
I have tried this and when I click my button I get null.
Guess I
You have to transmit (HTTP post) the HTML string to your php files.
You can do this either with AJAX or put the string into a hidden input
field and do an ordinary user submit.
AJAX could look something like:
$.post(your.php, { 'html': $(#root).html() });
In the PHP file you can read the data
Hi Stephan
I have tried this and when I click my button I get null.
Guess I am calling the button incorrectly ?
Many Thanks
Chris.
On Mon, Feb 2, 2009 at 4:23 PM, Stephan Veigl stephan.ve...@gmail.comwrote:
Saving $(#root_element).html() to your DB should do the job.
see a little demo:
Saving $(#root_element).html() to your DB should do the job.
see a little demo: http://jsbin.com/uwujo/edit
by(e)
Stephan
2009/2/2 Chris Owen skatee...@gmail.com:
Hey,
I have been trying for about a week now to be able to save the layout of my
page, I am using sortable, dragable etc so
4 matches
Mail list logo