недеља, 8. новембар 2009.
Kada ukucate Ime i Prezime u odgovarajuce polje i čekirate convert to upper case, Slova unutar navedenih polja ce se uvecati:
<script type="text/javascript"> function convertToUcase) { document.getElementById("fname").value=document.getElementById("fname").value.toUpperCase(); document.getElementById("lname").value=document.getElementById("lname").value.toUpperCase(); } /script> /head> body>form name="form1"> First name: input type="text" id="fname" size="20" />
Convert to upper case input type="checkBox" onclick="if (this.checked) {convertToUcase()}"> form> body>
Convert to upper case input type="checkBox" onclick="if (this.checked) {convertToUcase()}"> form> body>
Пријавите се на:
Постови (Atom)