Accessing a row with double click

Accessing a row with double click

spiderqspiderq Posts: 1Questions: 0Answers: 0
edited October 2012 in General
Assuming each row has a unique ID, i need to open that ID with double clicking on the row, instead of having to use something like this:
[code]
function openID(){
if(idSelected != null){
window.location.href = "php.php?id=" +idSelected;
}else{
alert("Please select one row");
}
}
[/code]

Is there a function or property that could allow me to do this?

Thanks a lot in advace.

Regards
This discussion has been closed.