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? Quote 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. Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.