javascript - Super div set value -


main code:

<div is="superdiv"> </div>  superdiv_prototype.createdcallback = function(){     this.innerhtml = "init value"; }  //register element 

but can not work.

any 1 can me?

your missed prototype statement

superdiv_prototype.prototype.createdcallback = function(){ this.innerhtml = "init value"; }


Comments

Popular posts from this blog

python - Setting ctypes.Structure default values -

C# Apple Bonjour - how to monitor service records within Windows -

javascript - Hide toolbar of pdf file opened inside iframe using firefox -