• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh


Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
<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.
Posts: 15385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
write content into a iframe with the code in the link:
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"
Evildoers! Eat my justice! And this tiny ad's justice too!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic