textarea limiti ve kaç karakter kaldığı

Javascript kodları textarea limiti ve kaç karakter kaldığı Hazır program kodları hakkında bilgi paylaş; HTML-Kodu: <!-- TWO STEPS TO INSTALL LIMIT TEXTAREA: 1. Copy the coding into the HEAD of your HTML document ...
Cevapla
WebMasTer SiTeSi
 
Seçenekler
  #1  
Arama 25-11-2007, 10:33
banias - ait Kullanıcı Resmi (Avatar)
Pseudo Coder
Üyelik Tarihi: 23/08/07
Mesajlar: 1.177
 
     WS-Ticareti: (2)
Blog Yazıları: 2
Teşekkürleri: 9
100 Msg. 180 Tşkr.
Rep Gücü: 100 banias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud of

textarea limiti ve kaç karakter kaldığı

HTML-Kodu:
<!-- TWO STEPS TO INSTALL LIMIT TEXTAREA:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the last code into the BODY of your HTML document  --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document  --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original:  Ronnie T. Moore --> <!-- Web Site:  The JavaScript Source --> <!-- Dynamic 'fix' by: Nannette T++++++ --> <!-- Web Site: http://www.shiningstar.net --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else 
countfield.value = maxlimit - field.value.length;
}
// End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document  --> <BODY> <!-- textCounter() parameters are:  text field, the count field, max length --> <center> <form name=myform action="YOUR-SCRIPT.CGI"> <font size="1" face="arial, helvetica, sans-serif"> ( You may enter up to 125 characters. )<br> <textarea name=message wrap=physical cols=28 rows=4 onKeyDown="textCounter(this.form.message,this.form.remLen,125);" onKeyUp="textCounter(this.form.message,this.form.remLen,125);"></textarea> <br> <input readonly type=text name=remLen size=3 maxlength=3 value="125"> characters left</font> </form> </center> <p><center> <font face="arial, helvetica" SIZE="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size:  1.37 KB -->
__________________
| | |
| |
|
|
|
Alıntı ile Cevapla
Cevapla
Arama Etiketleri: , , , ,



Seçenekler


Benzer Konular
Konu Konu Açanlar Forum Cevaplar Güncel Mesajlar
Sitem için ne kadar web alanı ve veri transferi limiti gerekir? egitimbilgisi Yeni Başlayanlara WebmasterSitesi 0 30-09-2008 12:23
paypaldan cc ye para aktarma limiti ne kadar? cYcLone Elektronik hesaplar 3 21-05-2008 08:34
<textarea>…</textarea> kadınca Html 0 18-12-2007 11:30
textarea limiti ve kaç karakter kaldığını yazar banias Javascript kodları 0 25-11-2007 10:25
TextArea ile Form İşlemleri viper ASP 0 02-11-2007 05:50


Webmaster web tasarım online reviews ~ Kadınlar blogu ~ Apple iPhone, iPod Touch ( iTouch ) Forum ~ iPhone