tags:

views:

72

answers:

1

Can we create a HTML page in jquery?if yes can any one provide some sample code?? Thanks in Advance.

+1  A: 

I'm having a hard time understanding what you're trying to achieve. But if all you want to do is append some new html with jQuery you can use any of these examples, and by the way there's more on www.jquery.com

$("#selector").append("<p>html code </p>");
$("#selector").html("<div>test</div>");

Good luck.

Stefan Konno
Thanks Stefan.I want the same that you explain here.Thanks again.
Amit