Does Svg Supports Javascript/ecmascript Functions. Or a list that shows which functions are implemented by the various browser vendors. Weve used onClick event to call a javascript functions.
It supports various functions like getCTM getScreenCTM getBBox but I cant find a list anywhere of all the functions that are related to SVG. Or a list that shows which functions are implemented by the various browser vendors. Weve used onClick event to call a javascript functions.
SVG is ofcourse a XML language but its also accessible through JavaScriptECMAScript.
Script block is to be in CDATA block consider character data support in XML. SVG supports JavaScriptECMAScript functions. Weve used onClick event to call a javascript functions. In javascript functions document represents SVG document and can be used to get the SVG elements.