if anyone is a tad handy with javascript coudl you give me a pm please
if anyone is a tad handy with javascript coudl you give me a pm please
Last edited by supacook2k; 15th November 2006 at 01:18 AM.
I think that you that or something like that.Code:<html> <head> <script type="javascript"> function writeButtonTextToBox(ButtonName, TextBoxName) { var thisButton = document.getElementById(ButtonName); var thisTextBox = document.getElementById(TextBoxName); if (thisButton != null && thisTextBox != null) { thisTextBox.innerText = thisButton.value; } } </script> </head> <body> <form name="display"> <div><input type="text" id="box" value =""></div> <div><input type="button" id="one" value="1" onClick="writeButtonTextToBox("one", "box");"></div> </form> </body> </html>
'If we aren't meant to eat animals, then why are they made out of meat?'
Anon.
thanks for the help m8. if your any good with javascript can you give me an pm m8 please
why not just post your problem here? that way more people will probably help you and the solution might be useful for other people
Download my latest breaks and electro mixes or listen to Sellout Breaks FM
Social Networking Bookmarks