View Single Post
Old 06-29-2004, 07:04 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
javascript alert without refreshing?

there is a page that i'm validating server-side.

i am re-populating the form field values with the post data.

if errors are found, i print a javascript alert() with the error.

the problem is, upon pressing 'ok' to the javascript alert, the text in the form fields goes away.

is there anyway to prevent the javascript alert from refreshing the form?
__________________
Mike
sde is offline   Reply With Quote