Hari B

Hari B

  • NA
  • 139
  • 67.7k

Jquery Multi select listbox

Sep 19 2019 5:20 AM
Hello All,
  
I want to display listbox through Jquery in popup box.
 
I got data from controller to view HTML.listbox in below
 
<%: Html.ListBox("tbaSellstbox", new SelectList(ViewData["BufferboxECSId_Clone"] as IEnumerable, "BufferBoxId", "ECSBufferBoxId", ViewData["BufferboxECSId_Clone"]), new { id = "Bflstbox_two_of1_id1" })%>
 
i want code for listbox in Jquery using id. like below
 
html += '<div>$("#Bflstbox_two_of1_id1").multiSelect();</div>';
 
suggest me how to get lisbox usning id in Jquery

Answers (4)