If you want to evaluate the expression data and display it in a JavaScript alert box, then you need to use the following syntax:

alert(<%=data%>)

FoxWeb Support Teamsupport@foxweb.com email

Sent by Richard on 03/19/2004 03:05:11 PM:

I am having trouble passing a database values to a function so I am using the alert as a example of the code what is the problem with alert(<%data%>) I get a error saying unrecognized command verb. The database is open what am I forgetting? Thanks