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
Denmark Puso
NA
16
1.1k
Cant trigger ajax when im using editableSelect();?
Feb 14 2020 9:25 PM
im using editableSelect to make my dropdownList editable but my ajax not trigger what is the problem? but when i try to erase the code editable my ajax code is working fine what is the problem? Thanks
var
tes = $(
'#s-clients'
).editableSelect();
$(tes).on(
'change'
,
function
() {
var
client = $(
this
).val();
$.ajax({
type:
'POST'
,
url:
'@Url.Action("getclient", "order")'
,
data: { client: client },
dataType:
"json"
,
success:
function
(data) {
debugger
;
$(
'#s-clients'
).val(data.ClientId);
$(
'#s-states'
).val(data.StateId);
getCitiesByStateId(data.StateId, client);
//$('#s-cities').val(data.CityId);
$(
'#txt-postcode'
).val(data.Postcode);
$(
'#txt-address'
).val(data.Address);
}
});
});
Reply
Answers (
3
)
Multiple Row insert in Asp.net.core
Template Management