You need to sign in to do that
Don't have an account?
Chirag Mehta
Salesforce.com-ish Button Creator Demystified
Read More at http://www.gokubi.com/buttoncreator.html
Find More on it @ SFDC Community
How does it works .... Its really simple thing
There a function called CreateButtons which does simply creation of a button using the CSS of SFDC
thats why it looks like SFDC Button
function CreateButtons() { for (Button = 1; Button < 5; Button++){ var ButtonId = "button" + Button + "text"; var ConstructedButtonId = "button" + Button var buttontext = document.getElementById(ButtonId).value; if (buttontext != "") { var constructedbuttontext = "<INPUT class=btn type=button title=Create value='"; constructedbuttontext+= buttontext; constructedbuttontext+= "'>"; document.getElementById(ConstructedButtonId).value = buttontext; document.getElementById(ConstructedButtonId).style.display = "inline"; } } }