February 25th, 2009, 01:56 AM
JS functions not working while loading html using Ajax
I am trying to load a html into some div using ajax tech. the UI I am getting. but not the js functions. I am embedding the js file w.r.t external html file.
from Main.html page I want to load local.html file.
In local.html file I have specified the related js file local.js.
But once I load the local.html into some div of the Main.html, the js functions in local.js is not working. I think this happens due to src path problem. but the onLoad function in local.html is also not working.
any idea why it is so? and any solution for the same???
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.