javascript - Save current generated PHP page as HTML to server database -
what approach should used save current generated php page html file in server database?
my php page liquidation report want save , uses javascript generated, buffering didn't work (ob_start , ob_get_contents).
edit:
i use simple css styles , javascript give effect of expand-collapse objects listed.
function showhide(hid,img) { if (document.getelementbyid(img).src.indexof('expand') != -1) { document.getelementbyid(img).src='../../images/collapse.gif'; document.getelementbyid(hid).classname='visiblerow'; } else { document.getelementbyid(img).src='../../images/expand.gif'; document.getelementbyid(hid).classname='hiddenrow'; } }
something post $(body).html()
via ajax trick.
Comments
Post a Comment