1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RV042, RV082, RV016 automatic checkbox click & save

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by rv082, Jul 3, 2010.

  1. rv082

    rv082 Networkin' Nut Member

    Hi there,
    is there a way to automatically have a checkbox clicked on the router's page and send a "Save Settings" on the mentioned routers?

    Basically a shortcut to a repetetive task, in this case turning on (and off) the Gateway to Gateway VPN tunnel.

    Here the steps we have to do manually each time.

    On the first page of the "Summary" page one has to click on "edit" of the apropriate tunnel (in this case tunnel 1):

    <a href="javascript: editLine('1','b')"><font color="#0000FF">Edit</a>


    hovering over that link shows this:

    javascript:%20editLine('1','b')



    Clicking it brings one to this:

    <input type="checkbox" name="tunnelStatus" onClick="changeStatus(this.form)" value=1 >



    then, when the radio box is checkmarked, it will display all the settings and you have to click this:

    <a href="javascript: chSubmit(document.formgtg)"><font color="#FFFFFF" style="font-size: 8pt; font-weight: 700" face="Arial"> Save Settings</font></a>


    which will save the enabled tunnel and return you to the "Summary" page.

    I only posted the code of sections, as the original pages are huge. I could zip and attach them?

    Something like a hyperlink (with the arguments in the URL) would be great, no VB or python etc please, this has to run on a simple phone.

    If you have a solution or a lead where I could look for help on this I'd apreciate it!
    Thanks in advance!!
     

Share This Page