Interview Question in Sharepoint Web Parts
Question :: HTML lt;formgt; and lt;inputgt; question |
How can I let the HTML form tag <input type=submit ...> show its results on a new page?
I want to have a google search bar located in a small frame on my homepage (actually a sharepoint pageviewer web part), but the results of the code below return the results in the same small frame. When the user hits "search", I want the results to show up in a new page. How can I do that?
<html>
<center>
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<INPUT TYPE=text name=q size=40 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Search">
</FORM>
</center>
</html>
Thanks! |
|
|
|

Loading ...