We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Safecrakcer affecting my jQuery!

Development and Programming

iPixel's avatar
iPixel
64 posts
about 13 years ago
iPixel's avatar iPixel

I have a pretty basic SafeCracker form. This form is for product reviews.

I have 1 link (See Reviews) which uses jQuery to toggle the product reviews into view.

Once a user clicks See Reviews, below where the reviews are is another link (Write a Review). This link is supposed to toggle the div that has the safecracker form in it.

Here’s the kicker, the second i add safecracker code all and i mean ALL jquery on that page just dies. And to make this more confusing. It ONLY kills my jquery when i’m logged into EE. If i log out, it works just fine.

Any ideas what’s going on here!

Edit: Just incase there was a jQuery conflict, i even tried using

var $j = jQuery.noConflict();

But that was useless.

I tried the community support side, no one seems to have an answer…. (sorry for duplicate).

       
iPixel's avatar
iPixel
64 posts
about 13 years ago
iPixel's avatar iPixel

Ok, finally got it working.

The fix is adding this code

safecracker_head="no"
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.