VAKURU
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by VAKURU
-
-
$(function() {
$("#demo").keyup(function(){
var len = $("#demo").val();
if(len.length>8){
var el = $("<p></p>").html("");
$("#holder").append(el);
//$("p").addClass("alert alert-warning");
var x = $("<span></span>").html(" Too long");
$("p").append(x);
$("span").addClass("glyphicon glyphicon-alert");
stop();
}
else if(len.length<=8){
$("#holder p").children().remove();
}
});
});
This Forum
in General
Posted
Is this Forum still active