Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

is it possible to create a html document by using javascript,if so can u tell me how can i achieve this


tx in advance
Posted

1 solution

Your javascript will be inside a HTML document, presumably, as it will be served to a browser. However, HTML is just text, so, of course, javascript can create it. The real question is, why do you want to, and what do you want to do with it ?
 
Share this answer
 
Comments
Code_seeker_ 10-Aug-11 0:31am    
actually i want to create one html document dynamically,and then i want to get the elements from it,

please suggest me
Dr.Walt Fair, PE 10-Aug-11 0:38am    
Try this solution: http://tinyurl.com/42xdvut

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900