locked
Change the text of "Save and Close" button RRS feed

  • Question

  • Hi

    Do anyone have script / link to page on how to change the text of buttons? Ex. the Save and Close button?

    Regards,
    Gjøran
    Wednesday, April 29, 2009 9:56 AM

Answers

  • Hi,

    Put this code into the OnLoad event:

    document.all._MBcrmFormSaveAndClose.children[0].innerHTML = "Changed Text";

    This is unsupported and may not work in the future.

    What you need to do is, view source of your crm page, find the id of the control and then using the above method could change it!

     

    Check out this url as well

    http://www.stunnware.com/crm2/topic.aspx?id=js13

     

    Regards,

    Nishant Rana

     




    http://nishantrana.wordpress.com
    Wednesday, April 29, 2009 10:08 AM
  • Hi,

    first you have to know the name of the button, and then change the innerHTML Tag of the button like

     

    var buttonSaveAndClose = document.getElementById("_MBcrmFormSaveAndClose");

    buttonSaveAndClose.innerHTML = 'New text';


    Viele Grüße Michael Sulz axcentro GmbH
    Wednesday, April 29, 2009 10:13 AM

All replies