You need to sign in to do that
Don't have an account?
PrasadVR
Issue with custom button
Hello ,
I have created one custom with onclick Execute Java Script , it is working fine
{!REQUIRESCRIPT("/soap/ajax/24.0/connection.js")}
var Opp = "{!Opportunity.Name}";
alert(Opp);
But if the Opportunity Name starts with Double quotation then It's not working
If Opportunity Name = "Opp Name with Quotation" ----getting error
If Opportunity Name = Opp Name with out Quotation ----working
Can some one help on this !!!
I have created one custom with onclick Execute Java Script , it is working fine
{!REQUIRESCRIPT("/soap/ajax/24.0/connection.js")}
var Opp = "{!Opportunity.Name}";
alert(Opp);
But if the Opportunity Name starts with Double quotation then It's not working
If Opportunity Name = "Opp Name with Quotation" ----getting error
If Opportunity Name = Opp Name with out Quotation ----working
Can some one help on this !!!
{!REQUIRESCRIPT("/soap/ajax/24.0/connection.js")}
var Opp = '{!Opportunity.Name}';
alert(Opp);