Link to home
Start Free TrialLog in
Avatar of tf2012
tf2012

asked on

jquery script modification question

I'm working on a wordpress site that's running a plugin that uses a purpose built jquery script stored in the plugin folder.  This means that when the plugin is updated any edits I make to that script will be overriden.

Basically its a form field validation script and I want to add a few lines to it.

How can I override the plugin script with a new one that will survive plugin updates?..

I was thinking of creating a new script to include the old stuff and my changes and registering it & enqueueing properly from functions.php

before I do I thought I'd check with the experts to see if there is a well known solution that works better.

thanks
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tf2012
tf2012

ASKER

ok great thanks