javascript in a page. have a Math.random() into a percentage (from 1-100%) call that is checked against a range of percentages (maybe say the 10% of people win a prize?) and if it falls in that range.. do a window popup. -Tim
-----Original Message----- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 4:25 PM To: [EMAIL PROTECTED] Subject: off topic (form, javascript question) I'm working on a form , they would like to provide an incentive to users to get them to fill out these forms. Can anyone suggest a way that a random user could get a message letting them know that they have won something (prize to be determined at a later time) this would probably occur monthly. Thanks _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com