myfunction(x)
{
.......
<a name="SEARCH">
----do something
</a>
}
<a href="#SEARCH"><input type="button" name="search_button" onClick="myfunction(x)" value="Search"> </a>
Once the button is pressed, the function will display some info on the screen. There is already sth on the browser window, so I need the to focus on the new info that the function "myfunction" will display.
{
.......
<a name="SEARCH">
----do something
</a>
}
<a href="#SEARCH"><input type="button" name="search_button" onClick="myfunction(x)" value="Search"> </a>
Once the button is pressed, the function will display some info on the screen. There is already sth on the browser window, so I need the to focus on the new info that the function "myfunction" will display.
Comment