hiding script temporarely
I have contact form problem. The form fails to deliver a message. The source of the problem is two conflicting script libraries. Both libraries are needed for different effects.
-
The fancy box scripts works with the image display mechanism.
<script type="text/javascript" src="./fancybox/lib/jquery-1.10.1.min.js"></script>
The jquery scripts works with contact form mechanism
If I remove the fancy box script the contact form works but lose the fancybox interactive image display features.
If I remove the ajax.googleapis script I loos the form functionality.
Changing the order of the scripts or loading them asynchronously has not worked.
Is there a way to hide the jquery fancybox script once the contact form is called.Then reinstate the fancybox script after the message has been submitted?