Dear all
have a look on my screen shot please
in the above screenshot there is recriter name is there for every recruiter having upto 10records after iam tring to enter 11 record i want show message to user alredy over like that so i have developed this is using entity freamework
pleae give ur suggessions

Sibeesh VenuPosted Nov 28, 2014, 7:05 AM
var textarea = document.getElementById("splitLines");
textarea.onkeyup = function() {
var lines = textarea.value.split("\n");
for (var i = 0; i < lines.length; i++) {
if (lines[i].length <= 16) continue; var j = 0; space = 16;
while (j++ <= 16) {
if (lines[i].charAt(j) === " ") space = j; }
lines[i + 1] = lines[i].substring(space + 1) + (lines[i + 1] || "");
lines[i] = lines[i].substring(0, space); }
textarea.value = lines.slice(0, 6).join("\n"); };
See more here :
http://stackoverflow.com/questions/14259580/textarea-with-limited-lines-and-char-limits
http://www.codeproject.com/Articles/56392/How-to-Limit-the-Number-of-Lines-and-Characters
Sibeesh VenuPosted Nov 28, 2014, 7:03 AM