[?] run JS in AJAX-jQuery

Discussion in 'jQuery' started by temp2, Mar 7, 2008.

Thread Status:
Not open for further replies.
  1. #1
    I use AJAX-jQuery in page1.html, to load page2.html; and inside page2.html, I have a function defined in page1.html; but this function is not work;

    can everybody help me? thank you very much
     
    temp2, Mar 7, 2008 IP
  2. hip_hop_x

    hip_hop_x Active Member

    Messages:
    522
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    #2
    you've done something wrong in the js script, post the code here, or paste it somewhere and give us a link to see.
     
    hip_hop_x, Mar 7, 2008 IP
  3. lephron

    lephron Active Member

    Messages:
    204
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    If the content of page2.html is being loaded INTO page1.html then you shouldn't have any problems. What error message are you getting?
     
    lephron, Mar 8, 2008 IP
Thread Status:
Not open for further replies.