Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Automatic Unique Form Numbering


  • From: javascript@xxxxxxxxxx (Peter-Paul Koch)
  • Subject: [Javascript] Automatic Unique Form Numbering
  • Date: Tue, 26 Nov 2002 15:15:52 +0000

>I've thought of that, but I not only want a Unique number generated I want 
>an Incremental number 1 - 2 - 3 etc in order.
>any ideas!

Then you must generate it server side and write it into a hidden field.

> > Use the time in milliseconds. It's extremely unlikely that
> > two users will
> > send in the form in exactly the same millisecond.


--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Interview by Carole Guevin:
http://netdiver.net/interviews/peterpaulkoch.php
--------------------------------------------------


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail