:: Forum >>
onenter event
I wish to implement a enter event. I want send the row value to another page or another souce when user press Enter.
Thanks
cbotta
Wednesday, February 4, 2004
Something like this?
var defaultEventHandler = obj.getEvent("onkeydown");
var myEventHandler = function(event){
if(event.keyCode==13){
alert(obj.getProperty("selection/index"));
}
else{
defaultEventHandler.call(this, event);
}
}
obj.setEvent("onkeydown", myEventHandler);
Alex (ActiveWidgets)
Wednesday, February 4, 2004
alex,
it is working fine.
but i have a problem, it always select the first row only.
please give me the solution
jeeva
Wednesday, October 5, 2005
This topic is archived.
Back to support forum
Forum search