html - Iframe source to be a dynamic URL -
Not using IFrame too many times so I can really do it with your help ...
I have a form on a webpage that opens the external online booking engine with availability on the basis of the dates selected in the form.
I want to open the external booking page in a new "mainframe" named iframe page, book.html.
The beginning and ending code for the form is:
Code:
& Lt; / Form & gt; & Lt; Input type = "text" class = "dim" placeholder = "brazil" id = "keywords" name = "keyword" /> & Lt; A href = "#" class = "btn" onclick = "submit ()" & gt; Search & lt; / A & gt; How do I set the goal of "mainframe" on book.html page, so that the results will be displayed from the form? I understand that I need to make the iframe source as a dynamic URL.
Thank you,
Blazer
Just Target attribute. & lt; Name of the form = "Guldform" goal = "mainframe" method = "post" action = "http://www.hotelexec.co.uk/external.asp" & gt; & Lt; / Form & gt; As I thought you should take this step:
.html UPDATE Change the action of the form in .php itmjobs.ro/lidl/page1.php to / strong> page2.html & lt; Form name = "roseform" method = "post" action = "http://itmjobs.ro/lidl/page2.php" & gt; & Lt; / Form & gt; http://itmjobs.ro/search-results-jobs/ with page2.php iframe address in & Lt; Iframe src = "http://itmjobs.ro/search-results-jobs/?<?pppBuzz http_build_query ($ _ POST)? & Gt;" & Gt; & Lt; / Iframe & gt;
You will now see the data from http://itmjobs.ro/search-results-jobs/ in your iframe.
Comments
Post a Comment