|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by NIks in JScript, New Internet Users
I have tried calling javascript funciton from url like:
http://test.html#javascript:Next()It seems for code shown, it does not work
I want to access btnReset() function from url
I tried doing this
http://resetrouter.html#javascript:btnReset()This did not worked.
Please Help!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
|
<html>
<head>
<meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<script language="javascript">
function btnReset() {
var code = 'location="rebootinfo.cgi"';
eval(code);
}
</script>
</head>
<body>
<blockquote><center><br><strong>Click the button below to save and reboot the router.</strong></blockquote></center>
<p align="center">
<input type='button' onClick='btnReset()' value='Save/Reboot'>
<br>
</p>
</body>
</html>
|
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625