Friday, August 1, 2008

How To Set Max Length TextArea OnPaste

function maxLengthPaste(field,maxChars)
if((field.value.length + window.clipboardData.getData("Text").length) > maxChars)
return false;
Use OnPaste Went To Call This Function
onpaste="return maxLengthPaste(this,500)"

This Code Has Been Post By The Viewer As Comment


Anonymous said...

nice site aim very excited to see this site so intresting and so cool i love it so cary on

Anonymous said...

Congratulations on possessing definitely considered one of one of the crucial refined blogs Ive arrive throughout in a while! Its just wonderful how much you’ll be able to think about away from a thing basically simply because of how visually stunning it is. Youve place collectively an excellent weblog website space –nice graphics, movies, layout. This is actually a should-see web site!
hey all, I used to be just checkin’ out this weblog and I really admire the idea of the article, and don't have anything to do, so if anybody wish to to have an engrossing convo about it, please contact me on AIM, my identify is heather smith
IЎЇm delighted that I've observed this weblog. Finally something not a junk, which we undergo extremely frequently. The web site is lovingly serviced and saved up to date. So it have to be, thanks for sharing this with us.
Simply killing some in between class time on Digg and I found your article . Not usually what I want to examine, but it surely was absolutely worth my time. Thanks.
What i find troublesome is to discover a weblog that can capture me for a minute but your weblog is different. Bravo.