In it.comp.lang.javascript messaggio <4acdcbdb$0$1095$4fafbaef (AT) reader3 (DOT) n
ews.tin.it>, 8 Oct 2009 13:24:01, frank <frank (AT) 127 (DOT) 0.0.1> ha scritto:
Quote:
Cristiano Larghi ha scritto:
basta che come url in firefox metti javascript:alert(Math.floor
( Math.random() * 72 )) e vedrai che funziona correttamente ...
Funziona anche con IE7...il problema è come memorizzare in una
variabile questo numero random generato? |
Il codice sembra buono.
The code seems good.
<http://jibbering.com/faq/index.html#randomNumber> (Inglese)
<URL:http://www.merlyn.demon.co.uk/js-randm.htm> (Inglese)
--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk IE7 FF3 Op9 Sf3
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.