Jun 14, 2004 #1 msigoraya MIS Joined Apr 20, 2003 Messages 29 Location PK I want to know how i can add a form or text file in the web page which will be downloaded / opened up in separate window. thanks shahid
I want to know how i can add a form or text file in the web page which will be downloaded / opened up in separate window. thanks shahid
Jun 14, 2004 1 #2 kaht Programmer Joined Aug 18, 2003 Messages 4,156 Location US here's an example for a text file: Code: <body> <form name=blahForm> <a href='javascript:void(window.open("test.txt"))'>click me</a> </form> </body> And when you say "form" I assume you mean another html file. That being the case, just replace test.txt with test.html -kaht Upvote 0 Downvote
here's an example for a text file: Code: <body> <form name=blahForm> <a href='javascript:void(window.open("test.txt"))'>click me</a> </form> </body> And when you say "form" I assume you mean another html file. That being the case, just replace test.txt with test.html -kaht
Jun 20, 2004 Thread starter #3 msigoraya MIS Joined Apr 20, 2003 Messages 29 Location PK Dear u r absolutely right, what should I do in case if I want to start down loading by clicking that link. Thanks shahid Upvote 0 Downvote
Dear u r absolutely right, what should I do in case if I want to start down loading by clicking that link. Thanks shahid
Jun 25, 2004 #4 vbkris Programmer Joined Jan 20, 2003 Messages 5,994 Location IN er, shahid has ur problem been solved??? (kaht's code is meant for click and download)... Known is handfull, Unknown is worldfull Upvote 0 Downvote
er, shahid has ur problem been solved??? (kaht's code is meant for click and download)... Known is handfull, Unknown is worldfull
Jun 26, 2004 Thread starter #5 msigoraya MIS Joined Apr 20, 2003 Messages 29 Location PK Yes, Thanks. Shahie Upvote 0 Downvote