Forums
This topic is locked
How to set a textfield = db value?
14 May 2002 11:36:54 lee aston posted:
Hi,could anyone please help me out with the code structure to set the value
(onMouseOver of a graphic) of a form textfield, equal to the value of a
database field.
Something like: (in my words)
OnMouseOver (form.textfield=(Du.Fields.Item("Size1".Value)
Cheers. Lee
Replies
Replied 14 May 2002 23:02:14
14 May 2002 23:02:14 Rick Harding replied:
I don't think there is a way to do that. ASP is server side...it is filled in by the server before the data is served to the user browser. You are trying to make a user side script and it cannot connect to the database directly.
Sorry.
There might be a good workaround, but I can't think of one.
Rick Harding
U of M CS Student / Network Admin for MSU FAME
www.ricks-web.info
"Techies just think differently...at least that's what they keep telling me"
Sorry.
There might be a good workaround, but I can't think of one.
Rick Harding
U of M CS Student / Network Admin for MSU FAME
www.ricks-web.info
"Techies just think differently...at least that's what they keep telling me"