Hi,
I've created a toolbar button that inserts a DIV with de next html:
<div style="WIDTH: 75px; HEIGHT: 23px; mytag: itsvalue">...</div>
Then I've created my own dialog, tag_miowndialog.ascx, that uses the next javascript code to get and set that value:
function SyncToView()
{
mytextbox["value"] = element["style"]["mytag"];
...
}
function SyncTo(element)
{
element["style"]["mytag"] = mytextbox["value"];
...
}
That works well, but I would like to store my information outside of the style tag, like this:
<div style="..." mytag="prop: value">...</div>
Doing that, I've not been able to get the information. What javascript code do I need to get it?
Thanks and congratulations for your great editor!