Hi ,
I have created a web page in which I have a form with a text field and a button which is used for a search.When I click the submit button the results I want to be displayed inside the iframe I have put to the same page.
How I can display the results of the search form inside the iframe?
The code of the form is
[code=html]
<form method=”post” name=”formsearch” target=”framesearch” >
<div align=”left”>
<input name=”search” type=”text” id=”search”>
<input type=”submit” name=”Submit” value=”GO”>
</div>
</form>
And this is the code of the iframe:
[code=html]
<div id=”Layer1″ style=”position:absolute; left: 277px; top: 125px; height: 178px;”>
<IFRAME src=”search.php” name=”framesearch” id=”framesearch” width=154
height=178 scrolling=no
frameBorder=0 border=0> </IFRAME></div>
I tryied to put in the target attribute the name of the iframe but when i tryied,inside the iframe it display the textfield of the searc instead of the results of the search query.
Could you please help me how I can do that?
Thanks