Accessing Dom Attributes in Dojo Widgets -


i've defined widget in template, example:

i can't title text set programmatically. i've tried many things kinda pseudo thought of none work:

domstyle.set(this. , "display", '{ float: left }'); this.feetselectcontainer.display =  "float: 'left'";  <div>     <div data-dojo-attach-point="somedivcontainer1">....></div> </div> 

it's saying this.somedivcontainer1 undefined..so tried changing id:

    domstyle.set(this.somedivcontainer1.id, "display", '{ float: "left"}'); dojo.attr(dojo.byid("somedivcontainer1 "), "display", '{ float: "left"}'); 

don't know else try or how through dojo.

i think mixing 2 style attributes: display , float

use

domstyle.set(this.somedivcontainer1, 'display', 'block'); 

or

domstyle.set(this.somedivcontainer1, 'float', 'left'); 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -