Ask a Question related to ASP, Design and Development.
-
doug #1
post to iframe
Hi,
Just wondering how (or if it's possible) to post from my
page to another .asp page within an iframe? Hopefully
that question make sense? I know how to launch load a
page with an iframe, but how do I post to a page within a
page? Thanks, Doug
doug Guest
-
redirect but with post data - mimick form post behaviour
Any thoughts on how to mimic result of submitting form data via POST Method? I have some code that sanitizes some submitted formfields and i'd like... -
[JS] iFrame.
God morning... I need to resize a iframe based in your content, but when a try it, i receive a error message Access Denied. Anybody know how... -
How to post some data in form of POST action of forms in asp?
Hi there, I need to post some information into an ASP page (mypage.asp), in form of POST action which I do with the following code: 'contents... -
<IFRAME>
Hi all. I'm having to use <IFRAME> for a scrolling area for a client 'cos they don't want any Flash on the site. They want the scrollbar to be... -
ASP, FORMS, POST METHOD And Post with out form(???)
Lets see if I can decribe, this... I have a form on an html page, that will call a remote site with a post method. Prior to running off to the... -
Gram #2
Re: post to iframe
If you want to make a link load something in an iframe use:
<a href="page.html" target="myframe">Click here</a>
(Where myframe is the name of the iframe)
if you have a link inside the iframe that you want to load the next page in
the iframe too, just leave out the target="" part
Gram
"doug" <dougpart@adelphia.net> wrote in message
news:00d701c37876$08073530$a101280a@phx.gbl...> Hi,
>
> Just wondering how (or if it's possible) to post from my
> page to another .asp page within an iframe? Hopefully
> that question make sense? I know how to launch load a
> page with an iframe, but how do I post to a page within a
> page? Thanks, Doug
>
Gram Guest
-
doug #3
Re: post to iframe
OK ... how would I post a form to an iframe? - doug
use:>-----Original Message-----
>If you want to make a link load something in an iframeload the next page in>
><a href="page.html" target="myframe">Click here</a>
>(Where myframe is the name of the iframe)
>
>if you have a link inside the iframe that you want to>the iframe too, just leave out the target="" part
>
>Gram
>doug Guest
-
Lance Wynn #4
Re: post to iframe
Set the target of the form to the name of the iframe I believe will work.
"doug" <dougpart@adelphia.net> wrote in message
news:1a2501c37884$b3ccde70$a601280a@phx.gbl...
OK ... how would I post a form to an iframe? - doug
use:>-----Original Message-----
>If you want to make a link load something in an iframeload the next page in>
><a href="page.html" target="myframe">Click here</a>
>(Where myframe is the name of the iframe)
>
>if you have a link inside the iframe that you want to>the iframe too, just leave out the target="" part
>
>Gram
>
Lance Wynn Guest
-
doug #5
Re: post to iframe
Thanks for the suggestions ... is anyone willing to submit
a brief code sample. What happens when I try is that
either, the form submits to a new window ... i.e. not in
my iframe ... or the iframe loads without my form's data
being passed to it. I guess another way of saying this is
that the iframe loads, but my form does not submit.
The way I was submitted prior to attempting the iframe
approach was this way:
Function submitme()
newwin = window.open _
("","myNewWin2","width=500,height=300,toolbar=0,sc rollbars=
1,resizeable=0,titlebar=0,menubar=0,status=1")
window.setTimeout "document.frm1.submit()",500
End Function
This works, however, since my confirmation of a successful
submission is just a few lines of text, I would like to
display the whole thing one page. Thanks for the help.
- doug
believe will work.>-----Original Message-----
>Set the target of the form to the name of the iframe I>
>"doug" <dougpart@adelphia.net> wrote in message
>news:1a2501c37884$b3ccde70$a601280a@phx.gbl...
>OK ... how would I post a form to an iframe? - doug
>>use:>>-----Original Message-----
>>If you want to make a link load something in an iframe>load the next page in>>
>><a href="page.html" target="myframe">Click here</a>
>>(Where myframe is the name of the iframe)
>>
>>if you have a link inside the iframe that you want to>>>the iframe too, just leave out the target="" part
>>
>>Gram
>>
>
>.
>doug Guest
-
Randy Rahbar #6
Re: post to iframe
I haven't tried this, but I think it should work....
<form action="page_you_want_to_post_to.asp" method=post
target=your_iframe_name>
Randy Rahbar Guest



Reply With Quote

