Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Apr 2005
    Posts
    1,051
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation calling a function in html loaded using xmlhttp.responseText

    I have a function on my main page, lets call it

    function say(){ alert('here'); }

    now, on the same page i load content using xmlHTTPRequest (to those of you who don't know what it is, I use a xmlhttp object to return the html source of a document.) and in that content I call the function say()

    however, this is not working. The function does not get called, nothing happens.

    also, note. the page i'm loading the content from is .php
    Last edited by rlemon; 05-25-2005 at 03:05 AM.
    public string ConjunctionJunction(string words, string phrases, string clauses)
    {
    return (String)(words + phrases + clauses);
    }
    <--- Was I Helpfull? Let me know ---<

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,043
    Thanks
    0
    Thanked 251 Times in 247 Posts
    Can you post your code including a sample content of the retrieved document?


  •  

    Posting Permissions

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