lfernando Posted July 18, 2012 Share Posted July 18, 2012 Hello, Im trying to use the script from this page : http://css-tricks.com/long-dropdowns-solution/ Its basically a dropdown navigation menu. The thing is, the dropdown is populated from an ajax load (http.responseText) so the items in the list load after the script, and they dont appear as dropdowns. Any idea how to run a script after ajax load? Thank you!! Quote Link to comment https://forums.phpfreaks.com/topic/265896-run-script-after-ajax-load/ Share on other sites More sharing options...
lfernando Posted July 18, 2012 Author Share Posted July 18, 2012 I figured it out, it had nothing to do with PHP. It was all Ajax and JS. I have to have the JS scripts inside a function, and call that function after ajax load. Thanks anyways Quote Link to comment https://forums.phpfreaks.com/topic/265896-run-script-after-ajax-load/#findComment-1362432 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.