Closed Thread Icon

Preserved Topic: Checkbox onClick --> write in DB Pages that link to <a href="https://ozoneasylum.com/backlink?for=18399" title="Pages that link to Preserved Topic: Checkbox onClick --&amp;gt; write in DB" rel="nofollow" >Preserved Topic: Checkbox onClick --&gt; write in DB\

 
Author Thread
Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 04-19-2002 10:25

hi all

I've got an question. Is it possible to define an checkbox
which write something into a db on the "onClick" event?
Or just run a form or whatever....?

cu
~Xdreamer.ch~
-------------------------------
to stupid for transparent sigs

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted 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.

Your pal, -doc-

« BackwardsOnwards »

Show Forum Drop Down Menu