colap Posted October 8, 2009 Share Posted October 8, 2009 I have a main div. javascript code has been added to create new div. If i type in a textarea and click "ok" button a new div will be created containing that message from textarea. Now if i reload the page the newly created divs are gone. I want to save this new divs with that page. If i reload that page or open that page with another browser or from another browser window the web page will contain those divs. Is it possible to do this? Link to comment https://forums.phpfreaks.com/topic/176950-how-can-i-save-the-newly-created-div-with-texts/ Share on other sites More sharing options...
thebadbad Posted October 8, 2009 Share Posted October 8, 2009 Could be done with a database and AJAX. Or without AJAX, if you can live with it reloading the page on submit. Link to comment https://forums.phpfreaks.com/topic/176950-how-can-i-save-the-newly-created-div-with-texts/#findComment-932977 Share on other sites More sharing options...
colap Posted October 8, 2009 Author Share Posted October 8, 2009 Could be done with a database and AJAX. Or without AJAX, if you can live with it reloading the page on submit. Can you please give link for that or sample example? Link to comment https://forums.phpfreaks.com/topic/176950-how-can-i-save-the-newly-created-div-with-texts/#findComment-933111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.