Click here to Skip to main content
15,789,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In a single web Page I want to split up into two.In one side,when I write a html coding and then click the submit button,I want to see the absolute output of that html coding..How can I write the code?Please help me...
Updated 3-Oct-15 2:52am

1 solution

You can add some HTML Text Editor where user can write HTML code. Then have a normal div or something and on click of that button assign the contents of HTML editor to the div's innerHTML property. It will reflect.
Share this answer
Member 12005938 5-Oct-15 5:17am    
Please give me the codings for that...Shall I put Textbox instead of html editor
You should use an Editor as you are dealing with HTML. Please search for HTML Editor in Google, you will find many.
Member 12005938 5-Oct-15 6:13am    
ok...thank you
Member 12005938 5-Oct-15 6:14am    
Yes I downloaded html editor file. But I don't know how to place the editor in the web form?
Please search for a tutorial for that html editor, which will guide you step by step.

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