Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call a function from a URL?

Status
Not open for further replies.

Yerdon

Programmer
Jul 29, 2002
62
0
0
US
Hi everyone,

Do you know if it is possible to call a Javascript function from a browser URL?

There is a page which I'd like to call and automatically press a submit button after entering a value.

In other words, instead of going to entering "hi" and pressing submit. I would like to just have this link:


Is there any way of doing that?

Thanks!

Joseph
 
have you used the body onload() function?
so the page test.asp would look like:
Code:
<html>
<head>
<script type="text/javascript">
function load()
{
window.status="Page is loaded";
}
</script>
</head><body onload="load()">
</body></html>
 
It is not my webpage - I cannot edit the code. It is an external website that I want to link to.

Sorry, I should have been clearer.

Is it possible?

Thank you!

Joseph
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top