HTML : Page Preview just before submit
I want to pop-up as page preview in one button click of my current html page. But i want to use only Body Elements of current page & Header Elements from other resources.
My Question is:
Could it possible to edit the header (< head>) ele开发者_开发知识库ments OR just use Header (< head>) elements from other resources. if yes, How ?
What is "other resource"? Other page or what?
To get ONLY the head element or body, you can do it like this:
// head of the element var headElement = document.head; // body var bodyElement = document.body;
But it only works for current document. I hope I get it right (because I don't really understand what "other resource" mean).
Hope it helps.
精彩评论