Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<textarea name="textarea" cols="50" rows="10" onFocus="javascript: this.value='' ">test test test</textarea>
<form name="form1" method="post" action="">
<textarea name="textarea" cols="50" rows="10" onclick="javascript: this.value='';">text text text</textarea>
</form>
<form name="form1" method="post" action="">
<textarea name="textarea" cols="50" rows="10" onfocus="this.value=(this.value=='text text')?'':this.value" onblur="this.value=(this.value=='')?'text text':this.value">text text</textarea>
</form>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<form name="form1" method="post" action="">
<textarea name="textarea" cols="50" rows="10" onfocus="this.value=(this.value=='text text')?'':this.value" onblur="this.value=(this.value=='')?'text text':this.value">text text</textarea>
</form>
<body>
</body>
</html>
<input type="text" onblur="if(document.getElementById('search_box').value=='') document.getElementById('search_box').value='Text';" onfocus="if(document.getElementById('search_box').value=='Text') document.getElementById('search_box').value='';" value="Text" autocomplete="off" name="searchUsername" id="search_box" />
talevtehnology каза:Брат тва вече е точно като за теб
на местата където пише text text си пишеш каквото искаш да ти излизаКод:<form name="form1" method="post" action=""> <textarea name="textarea" cols="50" rows="10" onfocus="this.value=(this.value=='text text')?'':this.value" onblur="this.value=(this.value=='')?'text text':this.value">text text</textarea> </form>
тряба да го напишеш на три места и само един пат ти излиза и после като щракнеш не изтрива въведения текст . Само веднъж показва въведения от теб текст![]()