Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
get span error status
Shakil Ahmed
Jan 7 2018 1:00 AM
159
Reply
i used this code for show text box error in span.
now i want return status - true or false based on showing message
if ($('#Code-Id').val().trim() < 2) {
$('#Code-Id').siblings('span.error').css('visibility', 'visible');
}
else {
$('#Code-Id').siblings('span.error').css('visibility', 'hidden');
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
datepicker is not showing with datetime.
javascript error while running the appln please help me