TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
611
127.9k
Check condtion in jquery.
Oct 5 2020 11:24 PM
if ($("#CategoryImages").val() == "") {
}
else if ($("#Name").val() == "") {
} else {
swal({
title: "Confirmation?",
text: "Are you sure you want to Upload File?",
type: "warning",
confirmButtonClass: "btn-danger",
showCancelButton: true,
confirmButtonText: "Yes",
closeOnConfirm: false
},
it's me validation code. i have upload a image file it's working but i have upload other file like (video) it's not properly working .Bcz #CategoryImages").val() == "" it's null in case image and i have selected video file it's not null so else if call .
Please provide solution
Reply
Answers (
3
)
IIs Server hosting and ms access
How to grand total in Dynamic Gridview when column was auto generated