Dblclick
RUN
<!DOCTYPE html> <html> <head> <title>jQuery Example</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://code.jquery.com/jquery-2.0.0.js"></script> <script> $(document).ready(function(){ $('#showbtn').dblclick({domain:"freetuts"}, function(e){ console.log(e.data); }); }); </script> </head> <body> <form method='get'> <p>Bật console lên để xem kết quả</p> <input type='button' value='Click 2 lần để hiển thị' id='showbtn'/> </form> </body> </html>
PHÓNG TO