Ciao Ragazzi, ho un problemino con java script.
Praticamente creo l elemento <a hrer="www..."></a> pero non riesco ad inserire il testo nel tag 'a'
sto usanfo firefox 3.0.1
vi metto anche il codice grazi infinite
codice:<html> <head> <script type="text/javascript"> function acceptCond(this_el) { var myDiv = document.getElementById("start"); if(this_el.checked){ var startLink = document.createElement('a'); startLink.setAttribute('href',"wwww"); startLink.text ="Go here"; myDiv.appendChild(startLink); var hr =document.createElement("hr"); document.getElementById("start").appendChild(hr) ; } } </script> </head> <body> <input type="checkbox" name="cond" onChange="acceptCond(this)" /> <div id="start"></div> </body> </html>

