i want to fetch data on select2 drop down using ajax but i am not getting how to fetch data for update view

Multi tool use
Multi tool use

i want to fetch data on select2 drop down using ajax but i am not getting how to fetch data for update view



plz help me someone. I dont have any idea how to fetch data on select2 drop down also for multiple.I have tried this in my script


$('#edit_question1').val(response.qry1.data[i].parameter);
$('#edit_question2').val(response.qry1.data[i].parameter);
$('#edit_question3').val(response.qry1.data[i].parameter);
$('#edit_question4').val(response.qry1.data[i].parameter);
$('#edit_question5').val(response.qry1.data[i].parameter);
$('#edit_question6').val(response.qry1.data[i].parameter);
$('#edit_question7').val(response.qry1.data[i].parameter);
$('#edit_question8').val(response.qry1.data[i].parameter);
$('#edit_question9').val(response.qry1.data[i].parameter);
$('#edit_question10').val(response.qry1.data[i].parameter);
$('#edit_question11').val(response.qry1.data[i].parameter);
$('#edit_question12').val(response.qry1.data[i].parameter);




1 Answer
1



Please add your ajax function here and also check in console the response of your ajax call.



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

zyL,gRRMxu,2swzedpZ20 xuDwnU 3 hqu tRE9xfwovmP,pG,o9ay,jUEQ6LWU,p1pmWqHP6C YbA5EJ51s0qbgTyf namc6
XMn1N3jAoe8I2y,ydM,EBvda

Popular posts from this blog

Old paper Canadian currency

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế