» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > ASP forums and Tips

ASP forums and Tips Talk about ASP Scripting. .net and Cold Fusion as well.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2006, 02:59 PM
barrymore barrymore is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
barrymore is on a distinguished road
Unhappy form inside iframe ,submit button outside the iframe

Hi all,

I have a form with few fields inside an iframe.
yet, i wish to put my submit button outside the iframe (parent window)

let say, i have a form in mydetail.asp
In parent.asp file,
i write <iframe name="myframe" id="frame1" src="mydetail.asp"></iframe>
in parent.asp file. And, i put the submit button in parent.asp file.

Now, i would like to press the button and submit the form data of the iframe and display my result in mydetail.asp(in iframe).

How to do that?
Any ideas or tutorials that can be refered? Thanks alot!! -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-18-2006, 03:01 PM
gerrard gerrard is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gerrard is on a distinguished road
Default

I believe you use javascript to emulate a form click in an iframe, but I'm not sure if you retrieve the data back into your parent. Actually, I bet if you did an onload event of the posted-to page in the iframe - that set the parent window it would be possible. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  #3  
Old 08-18-2006, 03:03 PM
strauss strauss is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
strauss is on a distinguished road
Default

I would suggest you not to use the iframe, also if you don't need scrolling for your iframe, you could just include your mydetail.asp file into parent.asp -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:20 PM.