Non so se ti potrà essere utile....
codice:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> <script language="JavaScript" type="text/javascript"> <!-- function cancel() { srcElem = event.srcElement; if (srcElem.tagName == 'INPUT' && srcElem.type=='button') { if (srcElem.name.substr(0,3) == "btn") { srcElem.click(); return; } // if (srcElem.name.substr(0,3) == "btn") } // if (srcElem.tagName == 'INPUT' && srcElem.type=='button') alert('cancel'); } // function cancel() function pippo(anObj) { alert(anObj.name); } //--> </script> </head> <body> <table summary="" border="1"> <tr onclick="cancel()"> <td><input name="btn001" type="button" value="clicca" onclick="pippo(this)"></td> <td><input name="btn002" type="button" value="clicca" onclick="pippo(this)"></td> <td><input name="btn003" type="button" value="clicca" onclick="pippo(this)"></td> <td><input name="btn004" type="button" value="clicca" onclick="pippo(this)"></td> <td>CLICCA QUI</td> </tr> </table> </body> </html>

Rispondi quotando