[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.

Question
[x]
Attachment Details

Accessing JavaScript Function throgh URL

Asked by NIks in JScript, New Internet Users

Tags: Accessing JavaScript Function throgh URL

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>
[+][-]10/20/09 03:33 AM, ID: 25612602Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/20/09 11:45 PM, ID: 25621220Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/09 02:12 AM, ID: 25621974Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/09 02:33 AM, ID: 25622129Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/09 02:38 AM, ID: 25622166Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/09 03:53 AM, ID: 25622544Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 04:20 AM, ID: 25718729Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625