Override Javascript Function in Child Theme
-
Hi,
here is a sample .js file.
$(document).ready(function(){ function test1(){ alert("first function called"); }; function test2(){ alert("second function called"); }; });Is it possible to override the function
test1in a child theme, without copying the entire .js file into the child?Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Override Javascript Function in Child Theme’ is closed to new replies.