SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Wizard WorldNews's Avatar
    Join Date
    Nov 2007
    Posts
    1,033
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    STRANGE problem: all of sudden my Javascript code is not working

    Hello,

    All of a sudden the Javascript in one of the pages is not working!
    Looking at the Javaconsole I see the Error message:

    Uncaught ReferenceError: helloworld is not defined advman_keyword_new.php:465
    Uncaught ReferenceError: get_state_vals is not defined advman_keyword_new.php:600

    But these Javascript functions are defined between the
    <script language="JavaScript">
    </script>

    section of the page, for example as an example in there there is:

    function helloworld()
    {
    alert ('Hello World 3');
    }


    which I added there just to show this strange Error.
    What the HEK is going on!

    ThanX,

    Anoox search engine volunteer

    www.anoox.com

  2. #2
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by WorldNews View Post
    All of a sudden the Javascript in one of the pages is not working!
    URL?
    Tab-indentation is a crime against humanity.

  3. #3
    SitePoint Wizard WorldNews's Avatar
    Join Date
    Nov 2007
    Posts
    1,033
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Got the answer already.

    Quote Originally Posted by Logic Ali View Post
    URL?
    I already got the answer to what was the problem from another JavaScript forum.
    Thanks anyway.

    Anoox search engine volunteer

    www.anoox.com


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
  •