i have a complex script im working on but cant get it to work so i cut it right down to basics and still cant get it to work
whats wrong? it just doesnt do anything, nothing at all. any help would be MUCH appreciatedCode:<head> <script type="text/javascript"> function showdist(){ var numx = 1; var numy = 2; document.getElementById(myx2).value = numx; document.getElementById(myy2).value = numy; } </script> </head> <body> <img src=./images/1.jpg onmouseover="showdist();"><br><br> myx <input type="text" size="35" id="myx2" value="0" /> <br> myy <input type="text" size="35" id="myy2" value="0" /> <br> </body>
p.s. sorry for joining just to ask for help, but i have reached my limit with this.



Reply With Quote

Bookmarks