Is there a problem with my javascript on a custom button? Before it was set to URL with the URL variable filled in, but now i want to add logic to this.
Thanks
{!REQUIRESCRIPT("/soap/ajax/21.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/15.0/apex.js")}
var url = '/apex/QuoteRequestDetailsPage?QuoteRequestId={!Quote_Request__c.Id}
&OpportunitySegmentId={!Quote_Request__c.Opportunity_SegmentId__c}';
window.open(url,"_self");
&OpportunitySegmentId
that is a problem.