I have a client side script that under certain situations would call a server side function.
The problem that i am having is that the function is an onclick event. The button that fires this onclick event is a design time control.
I keep getting this error:
Type mismatch: 'login_onclick'
here is my function:
any ideas?
thanks
The problem that i am having is that the function is an onclick event. The button that fires this onclick event is a design time control.
I keep getting this error:
Type mismatch: 'login_onclick'
here is my function:
Code:
sub buttonPress()
dim i
i = window.event.keyCode
if i = 13 then
btnLogin_onclick()
'msgbox "hello"
end if
End sub
any ideas?
thanks