Hoping someone can help with modifying the "Save" button on an asp page.
The Save and Cancel buttons appear on the page as a default.
I want to keep the buttons on the page. However, I would really like to change the image and text of the Save button.
When the user hits the save button, it does "Save" data. But it also sends an email. The current presentation is confusing to users because it looks like they are "saving" the email when they are actually "Sending" it.
I was thinking about adding a function to the custom content. However, I think I will just add it to the asp page.
My javascript is not that great...so I am not sure how to go about it. I think I need to use getElementsByTagName. However, I am a little lost on how to write it. I know I did not write this correctly...but this was my first stab at it. Am I on the right track? Can someone point me in the right direction or show me the way. Any assistance would be greatly appreciated! Thank you...
<script>
function ModifySaveButton()
{
var button = document.getElementsByTagName('A')[0];
button.getElementsByTagName("?")[0].innerHTML = "Send Email";
}
</script>