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
Ms_ Dev
NA
236
92.6k
To dispaly Custom Text when no records are found
Feb 20 2017 12:03 AM
Hi ALL,
I want to display custom message " NO RECORDS" when user deletes all data entries from the grid.
Javascript CODE-
function
Delete(altId) {
var
ctrlDeleteId =
'.deleteAl'
+ alertId.toString();
if
(confirm(
'Are you sure you want to delete it?'
)) {
$.post(
'Update.ashx'
, { AltId: altId, actionType:
'delete'
},
function
(data) {
if
(data ===
'Success'
) {
$(ctrlDeleteId).closest(
"tr"
).hide(300,
function
() { $target.remove(); });
}
});
}
};
thanks,
Reply
Answers (
3
)
Auto Search DropDownList with JQuery and AJAX Update Panel
color the table row to red