[mapguide-users] Re: Use of escape characters inside query builder
Wilson Herrera
wherrera at pccadpanama.com
Mon Feb 27 16:31:04 EST 2012
sorry for my late response, i had office issues.
this is the tooltip (without css rules for convenience) i am using to call
the javascript:
as you an see the call to the function follows the standard
onclick="function(string)" but as you may appreciate i need to enclose the
string so if i receive a string with spaces or special symbols wont damage
the html.
i tried doing this
onclick=function("' , OWNER, '");
and this
onclick="function(\'' , OWNER, '\' );"
and this
onclick="function(\\'' , OWNER, '\\');"
but the string always breaks the code (because almost always there is a
space in the middle of the string )and i get the error you can see in the
post above.
there is another way i may be missing?
let me show you some examples of the strings, so you can see what i am
talking about when i mention "spaces" in the string
PANAMERICAN BANK
CITY GROUP
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Use-of-escape-characters-inside-query-builder-tp4486183p4517062.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list