Hi,
I've some ASP code that processes data with the database. As I'm catching any errors that are found, I'm hoping to use JavaScript to show the error caused to the user.
Does anyone have a tutorial on how I can pass a string in ASP to javascript or how to run some javascript from ASP?
PS. I've tried a number of ways, such as writing a javascript function and referring to its name, passing the string in as variable; or using response.write and writing some javascript within my ASP VB code, but neither show the alert window.
Thanks in advance.
Maldini.
I've some ASP code that processes data with the database. As I'm catching any errors that are found, I'm hoping to use JavaScript to show the error caused to the user.
Does anyone have a tutorial on how I can pass a string in ASP to javascript or how to run some javascript from ASP?
PS. I've tried a number of ways, such as writing a javascript function and referring to its name, passing the string in as variable; or using response.write and writing some javascript within my ASP VB code, but neither show the alert window.
Thanks in advance.
Maldini.