-Joppe- Posted January 3, 2009 Share Posted January 3, 2009 Hello, I'm new to Ajax and have a urgent problem with loading flash with Ajax. If there is already a post solving my issue please refer to that post and I'll erase this one. At the moment I haven't got time to learn Ajax so I've just inserted a "standard" Ajax .js file and I have no problem with loading html-files into the page with tags like: <a href="javascript:ajaxpage('videos/production/april.html', 'flash_video')">Video</a> april.html contains a flashplayer that shows videos, but when I load it into the the div with ajax the flashplayer isn't displayed at all. The flashplayer requires a javascript which is declared in the header, isn't that script loaded whenever I "insert" my flashplayer using Ajax? Thanks Joe Quote Link to comment https://forums.phpfreaks.com/topic/139361-problem-with-loading-flash-in-ajax/ Share on other sites More sharing options...
corbin Posted January 4, 2009 Share Posted January 4, 2009 AJAX doesn't parse JS natively, so you would need to either eval() the JS, or use a library such as jQuery that can handle parsing for you. Quote Link to comment https://forums.phpfreaks.com/topic/139361-problem-with-loading-flash-in-ajax/#findComment-729079 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.