SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript doesn't work on loaded Ajax file

    Hi All,

    I have a link, that calls a HELLO.HTM file with AJAX.

    I have some javascripts on HELLO.HTM with <script> tag.

    When HELLO.HTM calls some of my javascript functions it generates error.

    My page HELLO.HTM works great if I load it from browser's URL.

    Why my javascript gives erron it that called with AJAX?

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why would you open a link with Ajax instead of just linking to it?

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because I'm in the testing phase. When everything seems ok, I'll be connect to MySQL database with PHP. HELLO.HTM is testing only page.


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
  •