Jump to content

Recommended Posts

I've been using ajax here and there trying to dabble in it and get a better understanding of it. However, I've ran into a bit of a wall and there might be a simple workaround that I am not aware of.

 

Problem:

When I retrieve data when performing an ajax query and my php file returns the html to be inserted into a div that the javascript included does not seem to be working.

 

The specific javascript resource I'm using is located below.

http://dynamicdrive.com/dynamicindex1/anylinkcss.htm

 

Let me know if i need to clarify anything or if you have any questions. Hope someone can help me.

well if i run a simple javascript test such as onclick="alert('test')" on a url it works. However, my link menu does not seem to be working when it is returned via ajax method. Hmm, Anyone else? I may not fully understand the poster above or he does not fully understand my situation.

I do not see an edit button :/ anyways what i mean by javascript not working is javascript functions called via events. Like Onclick. Hard coded events seem to work as i wrote above, however trying to run functions that are declared elsewhere is troublesome.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.