MPEG-4
H.264
Ogg Theora
WebM
H.264
Ogg Theora
WebM
var elem = document.getElemetById("textElem"); // Assuming textElem is the id of text object in SVG.
textElem.firstChild.nodeValue = "Nex Text Here";
//Then inside the SVG file, I linked the js file, and added an onload event, which happens after parsing, before rendering:
Then inside the javascript file:
function init(evt) {
// sample call
changeText("change my text");
}
function changeText(value) {
var svgText;
svgText = document.getElementById("varMyData").firstChild;
svgText.nodeValue = value;
}