Hi,

I want to load the content (main content) of my webpage with this Ajax module as I've done a lot of times. However, I'm getting an error every time I click on an .ajax-link. I think it's because I have a webform block. If I remove that block, I don't get the error anymore. This is the error:

TypeError: $(...).once is not a function
$('form.user-info-from-cookie').once('user-info-from-cookie', function () {

Anyone can help me?

Thanks in advance!

Comments

quicksketch’s picture

I don't think this is an issue with Webform itself. In which file is that code located? It looks like it may be some custom code on your site. If the "once" method is missing, you may need to add the /misc/jquery.once.js file to the page, which provides that method.

It's been a while since this issue was opened, did you figure out a solution since this was posted?

quicksketch’s picture

Status: Active » Closed (cannot reproduce)

Closing after lack of activity.