Results 1 to 2 of 2
  1. #1
    Flatron911 is offline Member
    Join Date
    Feb 2012
    Rep Power

    Default Java script reloading the page?


    I have a question to those in the know here:

    I'm trying to load a script that would dynamically display a telephone number for each selected location on the site, but when I use this script, it reloads the entire page and then displays ONLY the telephone number, instead of loading the number inside the page:

    Java Code:
    <div align="center"><script>jQuery(window).load(function(){document.write(jQuery(".fulfiller-contact-telephone").text())});</script> </div>
    What am I doing wrong here?

    Thanks in advance for your help :)
    Last edited by Flatron911; 02-22-2012 at 05:15 AM.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power

Similar Threads

  1. How to invoke shell script from JSP page
    By rajesh4851 in forum New To Java
    Replies: 7
    Last Post: 01-09-2012, 10:02 AM
  2. Replies: 0
    Last Post: 01-02-2012, 04:15 PM
  3. Please help with Pasword protected page Java script..!
    By boyfrom75 in forum Forum Lobby
    Replies: 3
    Last Post: 11-15-2011, 08:13 PM
  4. Class reloading
    By Supamagier in forum Advanced Java
    Replies: 3
    Last Post: 06-14-2009, 07:49 PM
  5. Modifying and reloading JPanel component
    By gopher in forum AWT / Swing
    Replies: 10
    Last Post: 02-07-2009, 04:15 AM

Posting Permissions

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