Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: JSON script switch between two pages or .js scripts

  1. #1
    Junior Member
    Join Date
    Dec 2019
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default JSON script switch between two pages or .js scripts

    Hello,
    In my hobby project I wants to switch between two pages tpGraph.js and tempGraph.js
    both scripts are mentioned in my index.html
    <button id="reset" style="width: 4.4em;">Reset</button><br>
    <button id="refresh" style="width: 4.4em;">Refresh</button>
    </div>
    </center>
    <script src="tempGraph.js"></script>
    <script src="tpGraph.js"></script>

    Howe to proceed/program and or find explenation link?
    Like to hear,
    ilioSS
    Last edited by ilioSS; February 29th, 2020 at 05:04 AM. Reason: Solved

  2. #2
    Junior Member
    Join Date
    Dec 2019
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: JSON script switch between two pages or .js scripts

    Hi all,

    Many thanks for your reply,s.
    Meanwhile I solved the issue by using a second page and navigate between the pages.
    Only the file to read must be changed.
    Kind regards,
    ilioSS

Similar Threads

  1. Replies: 2
    Last Post: July 9th, 2018, 07:02 AM
  2. how to parse JSON using java script
    By mikeclark in forum Member Introductions
    Replies: 1
    Last Post: December 8th, 2012, 11:53 PM
  3. Multiple Identical Scripts - Variables and Load Handlers
    By cas22 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 22nd, 2011, 11:37 AM
  4. I don’t want my pages to be shown in the history at all.
    By jaisingh in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: November 17th, 2010, 05:13 AM
  5. How to Hyper-link pages together in Java?
    By don.java1 in forum Java Applets
    Replies: 5
    Last Post: July 21st, 2008, 05:09 AM

Tags for this Thread