Windows 8 javascript change the attribute of branding to name -
i have windows 8 application updating tiles periodically. in tile update wish logo replaced application name.did analysis on same , found attribute value"branding" changed name.but setattribute method throws "0x800a01b6 - javascript runtime error: object doesn't support property or method 'setattributes'"
below code snippet placed in default.js
var squaretilexml = notifications.tileupdatemanager.gettemplatecontent(notifications.tiletemplatetype.tilesquaretext04); var tileattributenode = squaretilexml.getelementsbytagname("binding"); tileattributenode[0].setattributes("branding","name");
the error correct. instead, try setattribute()
, see if farther.
Comments
Post a Comment