bphanisarma Posted March 10, 2006 Share Posted March 10, 2006 Hello alli am new to web page designing..and i had a problem like thisI want to print the page from that page's pop up window that means i want to print previous web page from my current pop up window?is there any way of doing that??i tried window.open()but it prints the current pageif you have any idea send me the code thanksphani Link to comment Share on other sites More sharing options...
scott100 Posted March 10, 2006 Share Posted March 10, 2006 Try this, put in new window:<input type="button" value="print" onClick="window.opener.print()" /> Link to comment Share on other sites More sharing options...
bphanisarma Posted March 10, 2006 Author Share Posted March 10, 2006 Try this, put in new window:<input type="button" value="print" onClick="window.opener.print()" /><{POST_SNAPBACK}> hey thanks that worked thank you phani Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now