I cant get to ignore & symbol in my Combo xml

Hi,



i have this field, which will lists company names, when i select a company it will auto fill the address. The problem i encounter is that i am able to select a company name without ‘&’ seems to work but a company with ‘&’ does not work. e.g ‘test & tester’ would not auto fill the depended values. I have used rs.getString(“companyname”).replace("&", “&”).replaceAll("’", “\\’”); to ignore the ‘&’ symbol but it is no use. I then used this rs.getString(“companyname”).replace("&", " “).replaceAll(”’", “\\’”);, with spaces and it works perfectly but only one problem which is that i can’t see the ‘&’ between the company name as i have asked to add space instead of ‘&’. this is the out come for e.f ‘test tester’.



how can i use ‘&’ and auto fill the depended records



Thanks



Uthay


Hello,


please, try to use the attached dhtmlxcombo.js (the latest combo version). Possibly it’ll fix the issue


dhtmlxcombo.zip (8.55 KB)

Thanks Alex,

That dhtmlxcombo.js fixed the problem.

Thanks

Uthay