Choothcoino
New Member
Not using iFrames very often so I could really do with your help here...I have a form on a webpage which opens an external online booking engine with availability depending on the dates selected in the form.I'd like to open the external booking page in an iframe named "mainframe" on a new page, book.html. The start and end code for the form is:Code:\[code\] <form name="roseform" method="post" action="http://www.hotelexec.co.uk/external.asp"></form> <input type="text" class="dimmed" placeholder="Brasil" id="keywords" name="keywords" /> <a href="http://stackoverflow.com/questions/15542512/#" class="btn" onclick="submit()">Search</a>\[/code\]How would I set the target to "mainframe" at the book.html page so the results from the form would be displayed there? I understand I need to make Iframe source to be a dynamic URL.Thanks,Blazer