Results 1 to 2 of 2

Thread: having trouble with innerhtml

  1. #1
    Join Date
    Jan 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default having trouble with innerhtml

    i am having problem with innerhtml...
    when i call a page by using innerhtml, the script does not work on the page. i have to use external js on this page. i dont want to use iframe. if you check my code, you gonnaunderstand what i meant.
    Attachment 3097

    please check my codes.. waiting your suggestions...

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    InnerHTML does not import external scripts, just text and (some) styles. If you want to use it (it can be very practical) for importing external content, you have to bring the external js to the 'main page' yourself.
    ===
    Arie Molendijk.

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
  •