Thanks, that worked but it was a lot of mucking around.
kez.
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:ud**************@TK2MSFTNGP11.phx.gbl...
if you are doing all clientside javascript then no.
You'll have to have it submit() a form to write to the db, then redirect.
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Kez Bates" <ke*******@elmtree.com.au> wrote in message
news:ej**************@tk2msftngp13.phx.gbl... Hi
I want to update my database when somebody clicks on my link. I'm not
sure what the best approach is or how to do it in javascript. I have tried
some different things but they don't seem to work.
This would be my call
<a href="#" onClick="Add_OpenWindow(URL, 'Value to update in
database')">
I still want my link to open up in a new window which it does. But how
to add the value to my database without calling vbscript... Or can I.
Thanks
Kez