SniperX
07-19-2004, 07:47 AM
Hi there,
I would like to add a text label - but still have it associated to the input type...
i.e.
var myElement = document.createElement('input');
myNewElement.type = "radio";
myElement.setAttribute("text","bla"); //*
but i dont know what the exact label should be - to have the "label" of "bla" assocated to that input element.
All help will be appreciated
Thanks
mdw...
I would like to add a text label - but still have it associated to the input type...
i.e.
var myElement = document.createElement('input');
myNewElement.type = "radio";
myElement.setAttribute("text","bla"); //*
but i dont know what the exact label should be - to have the "label" of "bla" assocated to that input element.
All help will be appreciated
Thanks
mdw...