Dear Support Team!
I would like convert xml url in combobox because I use Codeigniter.
CodeIgniter format :
http://localhost/infobase_web/index.php/gridxml/combo_xml/cegek/a/0
Dhtmlx Generate:
http://dhtmlx.com/docs/products/dhtmlxCombo/samples/04_filtering/php/loadCombo.php?pos=0&mask=al&a_dhx_rSeed=1301918879180
The solution ? and = and & can convert “/” sign but i dont know how can i
Thank you for your answer
Hello,
you may modify dhtmlxcombo.js:
locate the following code snippet there
dhtmlXCombo.prototype._fetchOptions=function(ind,text){
if (text=="") { this.closeAll(); return this.clearAll(); }
var url=this._xml+((this._xml.indexOf("?")!=-1)?"&":"?")+“pos=”+ind+"&mask="+encodeURIComponent(text);
and change the var url=this._xml+((this._xml.indexOf("?")!=-1)?"&":"?")+“pos=”+ind+"&mask="+encodeURIComponent(text); line as you need
Thank you your fast reply but still not working
the ouput:
http://localhost/infobase_web/index.php/gridxml/combo_xml/cegek?pos=0&mask=a/a_dhx_rSeed=1301925596110
the code:
var url=this._xml+((this._xml.indexOf("?")!=-1)?"&":"?")+"/"+ind+"/"+encodeURIComponent(text);