DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: AJAX loading javascript problem

  1. #1
    Join Date
    Nov 2008
    Posts
    2

    AJAX loading javascript problem

    Hello, I want to use ajax links to load content into a div. The content happens to be a javascript based gallery (galleria).

    However, the links only present the images in the file into the div and the javascript does not work.

    I tried using loadobjs() function but that also did not work.

    Any one can help? I am new to this

    thankyou

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Welcome to DevX

    What do you mean by "doesn't work"?

    Are you getting errors? If so, what are they?

  3. #3
    Join Date
    Nov 2008
    Posts
    2

    errors

    Hi thanks much for the reply.

    No I am not getting errors. The ajax links will load the text and images related to the javascript.

    For example...I have a javascript slideshow that calls images from a folder. It works when I open it on a page by itself.

    However, when I use the ajax links, it only loads the images onto the page
    and no slideshow or slideshow interface appears.

    I read somewhere that I needed to use loadobjs("javascript.js file") after my ajax code, since the original page is already loaded, it wont load the javascript files on a separate page unless told too.

    But when I followed these instructions, the links didnt even work anymore...the page just froze up

    thanks,

Similar Threads

  1. Replies: 0
    Last Post: 04-20-2008, 08:08 PM
  2. Replies: 2
    Last Post: 04-20-2008, 05:50 AM
  3. javascript problem
    By sunainabhat in forum Java
    Replies: 0
    Last Post: 09-17-2007, 05:03 AM
  4. Replies: 0
    Last Post: 08-28-2006, 04:05 AM
  5. Problem while using AJAX inside frames
    By Hariharan in forum Java
    Replies: 0
    Last Post: 07-05-2006, 07:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center