I'm trying to get the validate plugin to work on a page that is
powered by an eCRM, so unfortunately I don't have any control over
most of the code in the body of the page. That said, I think I've
compensated accordingly by adding an ID to the form for use when I
call the validate function and then using the built in form field
names.

However, I can't get the validator to work -- when I load the page and
check the error console, I'm getting the following error:

Error: $("#donation_data").validate is not a function
Line: 61

I've double checked the include links many times and it looks like
they're loading properly (in fact, the jquery include is loading
fine), but for some reason the validate function isn't being
recognized. Here's the page I'm trying to get this to work on:

https://secure.democratsenators.org/o/46/t/866/shop/custom.jsp?donate_page_KEY=5141

I think the culprit could be the fact that the eCRM loads a second
copy of jquery inside the body of the page (basically, everything
within the <div class="salsa" id="salsa"> div is out of my control),
so not sure if that may be creating a conflict of some sort.

As far as I can tell this exact some problem is occurring in all
browsers. Any suggestions would be much appreciated!

-Mike

Reply via email to