Javascript not executing
I'm trying to use javascript to hide/empty a span.class on my registration page. When I first type the code in the span empties just as I would assume it would. However once I save the page the javascript no longer executes.
<script>
$('span.levelRecurring:contains("No recurring payments")').empty();
</script>
Any ideas?
-
Robert Sylvester commented
Thanks, that works perfectly.
-
Ted Hattemer commented
Nevermind. I figured it out. The layout container for the javascript has to be after the text I'm trying to manipulate.