0

If I set include_jquery="no" parameter I still appear to be getting JS code injected into my page as one of my fields is a date field.

Not including it is throwing two JS errors:

jQuery not defined and $ not defined.

If I include jQuery the errors go away but then the date field throws a weird value:

2014-05-22un22efine22

Questions:

  1. If I have a field that EE recognizes as requiring a jQuery UI element will it always throw in the JS? Is there a way to override this?

  2. If I do include jQuery how do I fix the weird date value?

1

Have you tried adding include_assets="no" and datepicker="no"? These should stop Expression Engine including it's own JS.

1
  • Awesome, exactly what I was looking for. Thank you.
    – KoalaKid
    May 14 '14 at 20:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.