Preserved Topic: Checkbox onClick --> write in DB |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Switzerland |
posted 04-19-2002 10:25
hi all |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 04-19-2002 11:00
I've built systems before where I'll do this. Typically you'll need to run another page on the server to add things to the DB, so you could use a frameset with a 1px hidden frame, the onClick event could load a page into this hidden frame that processes the DB insertion. I actually did an entire e-commerce store this way, every form activated onChange, so there were no real "submit" buttons anywhere, it was pretty cool, no data ever got lost, although the server load was rather extreme with all those database connections all the time. |