Results 1 to 8 of 8

Thread: Dynamic Ajax Content Help

  1. #1
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content Help

    Title: Dynamic Ajax Content

    http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    Hi the above script

    if i try to load a .asp page inside a div the script doesnt work, it only loads htm pages :S why is this?

    Cheers

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm not sure, does the asp page validate when loaded into the browser by itself? Is it being served as text/html? This may be a bug or an outright limitation of the script, but I tend to think it has something to do with the asp page(s) you are trying to load.

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    here you go

    http://www.cwservicesltd.co.uk/test/test.asp

    click the html link whooop works

    click the asp link bummer no works

    just got its titled asp!

  4. #4
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    the only difference in the two pages asp link and htm link

    is the asp link has

    <%
    Dim
    %>

    in it

    just the word dim makes it not work :S

  5. #5
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hmmm... i got it too work, i dont understand cos ive tried to before and it would :S

    oh well cheers anwyay

  6. #6
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    is there an link to reset the page in the div?

  7. #7
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    say i have loaded a page in <div id="content"></div>

    how can i have a link within the content div that will open in the same div


    Ta

  8. #8
    Join Date
    Jan 2008
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    javascript:ajaxpage('html.htm', 'content') in your link, i do it also on my site.

    and it loads only the data between the BODY tags

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
  •