I am using a javascript function to return an address. But when pulling the address back, I am getting a carriage return added to the line, which is causing the function to error out. I need to remove the carriage return, here is small part of function. It is with the address1 and city only that the carriage return is getting added.
function ChangeStatus(status){
var address1 = "<%=Trim(l_objQuoteSummary.Address1)%>";
var city = "<%=Trim(l_objQuoteSummary.City)%>";
var state = "<%=Trim(l_objQuoteSummary.State)%>";
var flg;
Help is appreicated.
function ChangeStatus(status){
var address1 = "<%=Trim(l_objQuoteSummary.Address1)%>";
var city = "<%=Trim(l_objQuoteSummary.City)%>";
var state = "<%=Trim(l_objQuoteSummary.State)%>";
var flg;
Help is appreicated.