CodeIgniter Forums
Temporary data. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Temporary data. (/showthread.php?tid=13309)



Temporary data. - El Forum - 11-18-2008

[eluser]Lazos[/eluser]
Hi. I am developing a CMS. What I want to do is when I try to add contents I would like to have a preview button. This button will temporary store the data I wrote into the add content form and it will attempt to show me in another page how the page will look like if I press the submit button.

I have TinyMCE that has a preview button but the output is not accurate without styles and a full size window. So I think the best way is to save the data temporary so I can view how it looks like before I press the final submit button. Any idea what or how I should do this?

Thanks.


Temporary data. - El Forum - 11-18-2008

[eluser]Yash[/eluser]
Never tried but you can use ajax to show preview. Don't load whole page just update only a div portion.