Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ajax open new tab with post

$.post(url, function (data) {
    var w = window.open('about:blank');
    w.document.open();
    w.document.write(data);
    w.document.close();
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ajax #open #tab #post
ADD COMMENT
Topic
Name
2+2 =