V
Vinaya
Hi
In my html page to update a table I am forwarding request to a ASP apge bys
using form.action="test.asp", and form.submit(). In asp I am doing database
update. Response of this I want to show alert box to user whether operation
is succesful. I donot want ot redirect to some other page and I do not want
to disturn existing view. I mean I want get only response such as true or
false and based on respose I will display alert in front end.
I want some thing like this,
form.action="test.asp";
var result=form.submit()
if( result="successfull")
alert("Succesful")
else
alert("failed")
I am new to ASP.
In my html page to update a table I am forwarding request to a ASP apge bys
using form.action="test.asp", and form.submit(). In asp I am doing database
update. Response of this I want to show alert box to user whether operation
is succesful. I donot want ot redirect to some other page and I do not want
to disturn existing view. I mean I want get only response such as true or
false and based on respose I will display alert in front end.
I want some thing like this,
form.action="test.asp";
var result=form.submit()
if( result="successfull")
alert("Succesful")
else
alert("failed")
I am new to ASP.