| Author |
IFRAME with POST
|
Srinivas Ivaturi
Ranch Hand
Joined: Jan 28, 2003
Posts: 50
|
|
Hi I have two questions Lemme post one by one. First Question: ---------------- Ex: <iFRAME src="test.html"></iFRAME> The above code brings the test.html code into my current page as Frame. I dont want to give html page or something. I want to add some data between the <iFRAME> tag, Is it possible?? Ex: <iFrame> Test Data </iFrame> --> Is it valid?? For me in browser nothing is displayed. Second Question: ---------------- If we right click on the iFRAME it shows the entire URL from where the data has come including parameters. Instead of this I want to post the data to the target html page. Is it possible? if so please tell me. Ex: <iFRAME src="test.html?uName=test&passWord=test"></iFRAME> I dont want that parameters to be shown when I right click so I want to post that Data using JavaScript. Is there anyway please tell me. Thanks for your time in advance Srinvias Ivaturi.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
write content into a iframe with the code in the link: http://webxpertz.net/forums/showthread.php?t=28700 If you put the paramters in a query string, then people will be able to see them. You can reference them off of the parent page if you stick them in a hidden element or if you are posting a form then you can use the target attribute and use the iframes name. target="theName" Eric
|
 |
 |
|
|
subject: IFRAME with POST
|
|
|