Results 1 to 2 of 2

Thread: Html to return to main ip how to help required

  1. #1
    Join Date
    Dec 2011
    Posts
    5,798
    Post Thanks / Like

    Default Html to return to main ip how to help required

    Excuse my coding ignorance.

    I am using borrowed code here and cannot find the information that will return the url from 192.168.*.*/* to 192.168.*.*

    Have found that if more than 1 client is logged in with the page 192.168.*.*/* , that the button functions get messed up .
    Location.reload seems to just update the current page .

    //webSite +="<button onclick='myFunction()'>HOME</button>";
    //webSite +="<script>function myFunction() {location.reload();}</script>";

    Is there a simple command that will replace location.reload and return the page to main ip .

    Thanks for reading .
    Last edited by angus40; 06-04-2019 at 06:09 AM.

  2. #2
    Join Date
    Dec 2011
    Posts
    5,798
    Post Thanks / Like

    Default Re: Html to return to main ip how to help required

    It is ok , I figured it out

    Corrected code if anyone needs >> webSite +="<script>function myFunction() {window.location = 'http://*.*.*.*';}</script>";


    just replace with your url / ip !
    Last edited by angus40; 06-04-2019 at 06:10 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •