Software Engineer(.Net C# Developer)
Tuesday, January 8, 2013
Write Div Content on new window
We want to open new window and write content on it which we want to write into it.
$("#adv").click(function () {
var html = $("#dvcontent").html();
var w = window.open();
w.document.writeln(html);
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment