Accessing a row with double click
Accessing a row with double click
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
[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.