- 1
что не так?
<script type="text/javascript"> Function htr(){ var jk1=document.getElementById("jht").value; var jk2=document.getElementById("hhyt"); jk2.value=jk1.value; </script> <form onsubmit="htr()"> <input type="text" id="jht" value=""/> <input type="text" id="hhyt" value=""/> <input type="submit"/> </form>
3 Respostas
+ 3
JS code needing to access html element must be localized after the targeted elements in your source code (or execution delayed since the elements haven't been parsed).
Anyway, use english to write your questions/comments: this app' have world users, and the only common language is english (as english is almost required to learn many programming languages)...
+ 2
I don't understand, and have only guessed what's your problem by checking your code sample.
And by the way, you have to make the effort to use google translate rather than us ( most of us still make the effort to use english, even if this is not our natural language ) ^^
+ 1
мне 11 лет и я в 4 классе(учу английский)