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
ajay kumar
808
1k
33.8k
How to see line by line execution of jquery code
Sep 28 2016 6:17 AM
How to see line by line execution of jquery code
I have below code
$('.edit-mode').hide();
$('.edit-user, .cancel-user').on('click', function () {
var tr = $(this).parents('tr:first');
tr.find('.edit-mode, .display-mode').toggle();
});
$('.save-user').on('click', function () {
var tr = $(this).parents('tr:first');
var Name = tr.find("#Name").val();
var SurName = tr.find("#SurName").val();
var UserID = tr.find("#UserID").html();
tr.find("#lblName").text(Name);
tr.find("#lblSurName").text(SurName);
tr.find('.edit-mode, .display-mode').toggle();
var UserModel =
{
"ID": UserID,
"Name": Name,
"SurName": SurName
};
$.ajax({
url: '/User/ChangeUser/',
data: JSON.stringify(UserModel),
type: 'POST',
contentType: 'application/json; charset=utf-8',
success: function (data) {
alert(data);
}
});
});
how to see line by line execution according to userinterface(ui)
Reply
Answers (
4
)
Backbone model triggering dropdown change event twice
threading concept