Changing form button value - Quick and dirty fix

A quick and dirty way to change the value of a button.

Add this snippet to the end of your page.tpl and edit the '#####' with the element id, such as 'edit-submit'.

Snippet:

<script type="text/javascript">
<!--
button = document.getElementById("######");
if (button) button.value="Search";
//-->
</script>

Comments

admin

Ops!

Sorry, I had the wrong code filter applied to the field so the code wasn't displaying.

As you can see, the code is there now.

avantmedia

Where is the snippet?