Weird, Its working on my IE/FF <BODY> <label for="same" class="first">Same <input type="checkbox" name="same" id="same" onclick="doCopy()" /></label>
<label for="first_name" class="first">First Name: <input type="text" name="first_name" id="first_name" value="" size="" /></label> <label for="first_name1">Middle Name: <input type="text" name="first_name1" id="first_name1" value="" size="" /></label> </BODY> <script> function doCopy(){ $("#first_name1").val($("#first_name").val()) } </script> Do you get any js errors during viewing page. On Tue, Oct 20, 2009 at 10:54 AM, ReynierPM <rper...@uci.cu> wrote: > > Bi Jing wrote: > >> Sorr, I made mistake, there are two wrong coding >> >> No.1, onclick="doCopy()" >> No.2, >> $("#user2_name").val($("#user1_name").val()) >> >> >> >> >> On Tue, Oct 20, 2009 at 10:28 AM, ReynierPM <rper...@uci.cu> wrote: >> >> >> > Nothing still not working > > -- > Saludos > ReynierPM >