Hi all,
I have a link button(btnsave).
In the application there is btnsave_click handled.
for this i am trying to pop up the javascript alert window.
in .vb
btnSave.Attributes.Add("onclick", "javascript:ShowAlert();")
In the .aspx file
i wrote
function showalert(){
alert("this is already there")
}
as far as i know when i wrote the same for hte button it worked but here its hyperlink ,will javascript work for hyperlink??
I felt its regarding hyperlink so I posted this.
Thanks for any help in advance.
I have a link button(btnsave).
In the application there is btnsave_click handled.
for this i am trying to pop up the javascript alert window.
in .vb
btnSave.Attributes.Add("onclick", "javascript:ShowAlert();")
In the .aspx file
i wrote
function showalert(){
alert("this is already there")
}
as far as i know when i wrote the same for hte button it worked but here its hyperlink ,will javascript work for hyperlink??
I felt its regarding hyperlink so I posted this.
Thanks for any help in advance.