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
Nilesh Patil
NA
3k
114.7k
Select items in multiselect dropdown list MVC3 jquery
Jan 16 2018 5:31 AM
Hi All,
I have multi slect dropdown list i want ot on page load selected value need to display by defalut ike this
I have retuen below Ajax call
$(document).ready(function () {
var DocId = $("#FolderId").val();
alert(DocId);
$.ajax({
url: getDocumentAuthorOnClick,
type: "GET",
data: { id: DocId },
dataType: "JSON",
})
.success(function(result) {
var array = result;
$.each(array, function (i) {
$("#Authors").val(array); // This is not display value as selected by defalut
alert(array[i]);
});
})
suggest proper syntax for that
Reply
Answers (
2
)
Regarding AjaxControlToolkit.HTMLEditor
Ajax section are not working