Double Click Text

[Total: 0    Average: 0/5]

This script shows how to have a double click on a form text box.

Body Code:

function dblClk()
alert("You dbl clicked:ntvalue="+document.exf1.t1.value);
<span ondblclick="dblClk()">click me</span>
<form name=exf1>
<input type=text name=t1 value="double click on me" ondblclick="dblClk()">

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *