Witam !
//Jestem nowym użytkownikiem tego Forum.
Mam pytanie:
Co zrobić aby wylosować 6 kolejnych liczb bez powtórzeń i żeby każda osobno pokazywała się w innym okienku. Dodaje screen, aby Wam to jakoś pokazać.//
* Szukałem na google i te wszystkie tzw. skrypty i nic to nie pomaga. Liczę na szybką i profesjonalną odpowiedź.**
A tutaj mam kod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Losowanie liczb</title>
</head>
<body>
<script type="text/javascript">
function wylosuj()
{
</script>
<form name="formularz">
<center>
Za chwilę komputer wylosuje 6 liczb
<br/>
Pierwsza liczba:<input type='text' name='l1' maxlength="50" size=2 style="text-align: center" disabled="disabled">
<br/>
Druga liczba:<input type='text' name='l2' maxlength="50" size=2 style="text-align: center" disabled="disabled">
<br/>
Trzecia liczba:<input type='text' name='l3' maxlength="50" size=2 style="text-align: center" disabled="disabled">
<br/>
Czwarta liczba:<input type='text' name='l4' maxlength="50" size=2 style="text-align: center" disabled="disabled">
<br/>
Piąta liczba:<input type='text' name='l5' maxlength="50" size=2 style="text-align: center" disabled="disabled">
<br/>
Szósta liczba:<input type='text' name='l6' maxlength="50" size=2 style="text-align: center" disabled="disabled">
<br/>
<input type="button" name="wylosuj" id="wylosu_j" value="Wylosuj" style="height: 30px;
width: 100px;" onClick="wylosuj()">
</body>
</html>