Menu
hi. i just started to learn javascript. and i was wondering how i could clear the value on the textarea by clicking on it.
i know what i can use:
onclick=”function_name”
and then i can make a function that does something with document.write and so on, but i dont know how i should put it all toghterer, what should be inside the value=”” inside the text area? should i mae a <script></script> inside of the value=”” like we do with php value=”<?php echo somefunction(); ?>”
regards,
alex