Skip to content

Instantly share code, notes, and snippets.

@andershaig
Created November 22, 2011 18:57
Show Gist options
  • Save andershaig/1386542 to your computer and use it in GitHub Desktop.
Save andershaig/1386542 to your computer and use it in GitHub Desktop.
Modify Submit Button Value on Page Load
<script type="text/javascript">
$(window).load( function () {
{% plugin rawtext submit_button_text %}
$('.engagements_submit').val('{{ submit_button_text }}');
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment