• TwitterFacebookGoogle PlusLinkedInRSS FeedEmail

Jquery Popup Contact Form

6/10/2018 
Jquery Popup Contact Form

Hi, There quite a few errors on the page including one in the line you mentioned with #book_form Uncaught TypeError: Object # has no method 'ajaxForm' /facebox/:53 $('#book_form').ajaxForm(function() { The error is caused usually when jquery is loaded twice, or loaded in wrong sequence (jquery must come first), or if the js file is not being loaded at all. Looking at the errors, there are 2 jquery’s on the page, and a bunch of.js files are not being loaded. Hi, The thing is, you have two jqueries there which is not a good idea. First lets update the facebox to the latest version 1.3 from your 1.1 (src directory_ which runs of jquery 1.4.2, same as the theme, so that the extra jquery can be thrown out to simplify life. I don’t see why it wouldn’t work after the upgrade. Please check in the examples directory on github, there is one example i believe nearly identical to yours and just copy it lol.

In this tutorial I’ll demonstrate how we can build a minimalist modal contact form. I’ll be using jQuery along with the fancybox plugin to manage dynamic content. A simple jQuery plugin for a contact form with a grayed-out overlay. Grabs any links that point to your contact page and flags them for the Contact-Pop popup.

Why reinvent the wheel. Let us know how it’s going, Nick. Hi, Sorry for the delay. Ok I got a few working examples this time guaranteed.

Sorry but I would prefer to leave writing any new code to the very last resort. I prefer to adapt code since its tested already and less chance of a nasty surprise down the line. Here are three solutions specific to your exact problem. The first link is a functional form that submits and closes using facebox – the button on right side opens the popup etc These two below are also specific step by step fixes for people experiencing your identical issue. -facebox-pop-up Thanks, Nick. Hi Nick, Ok, I went through your links.

So the issue seems that Facebox is using the clone() method to move the DOM elements around in $. Dua Hizbul Bahr Pdf here. facebox.fillFaceboxFromHref? I’m trying to modify the Facebox script, and add in the variables dom and dom_data in the main declaration of facebox.

2018 © empirecasini