I have developed a Wordpress site that loads pages dynamically using the .load function.
I have installed a few plugins that I NEED to get working, there is no substitute. My problem is that these plugins rely on JavaScript (an AJAX contact form, and a photo gallery) when they are loaded into div#content the required JavaScript doesn't execute on the dynamically loaded content.
A normal solution would be load the JavaScript I need with the page, but since this is done with Wordpress and the <script> tags are placed in <head> by the plugin. Another solution I have considered is using jQuery's $.getScript, but again since the JS is already in the head this will cause conflicts. I am really stuck as to where to go next.
Any help appreciated guys.