[mapguide-users] Ajax viewer, URL in Properties Pane

RenoSun renolionheart at gmail.com
Mon Feb 6 13:25:07 PST 2017


I will suggest you undo the modification, and just add function HtmlDecode()
function first.
var _el = null; //Our "parser" element 
function HtmlDecode(input) 
{ 
    if (input == null || input == "") 
        return input; 

    if (_el == null) 
        _el = document.createElement('div'); 

    _el.innerHTML = input; 
    return _el.childNodes[0].nodeValue; 
}  

Then, make sure your HtmlDecode(properties[i].value) the property values.

Please open the Ajax viewer in the web browser, and right click to inspect
the elements, and let me know if there are any error messages under the
Console tab.




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306614.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list