i am currently designing a form and am having trouble with a piece of java when i put it in the document...
The following works fine by itself, and even when i put it in other documents, however when i place it in the document i need and FireBug it, it says that the id "yesno" is not defined... Any ideas?
The following works fine by itself, and even when i put it in other documents, however when i place it in the document i need and FireBug it, it says that the id "yesno" is not defined... Any ideas?
Code:
<style> /* Normal style */ .normal { font-family: Comic Sans MS, sans-serif; } /* Display block */ .DisplayBlock { display : block; } /* Display none */ .DisplayNone { display: none; } </style> <script language="javascript"> function classChange(element,newclass) { element.className = newclass; } </script> <table> <tr><td> <input type="radio" name="Updates" value="yes" onClick="classChange(undisplayed,'DisplayNone')">No <br> <input type="radio" name="Updates" value="yes" onClick="classChange(undisplayed,'DisplayBlock')">Yes <p class="DisplayNone" id="undisplayed"> <!-- Marker1 --><textarea name="UpdateDetails" cols="70" rows="3"></textarea> </p> </td></tr> </table>
Comment