I have an application built in Html5 and wrapped in PhoneGap for Android
I have an auto-complete input
On drop-down list should appear in every instance linebreak, it works great on the computer, on Android not.
JS code:
List = $.map(data.XXX, function (item) {
return {
label: item.X.split(":")[0] + "</br>" + item.X.split(":")[1],
value: item.XX
};
In smartPhone it shows me everything on one line
Does anyone know why this happens?
Try using <br/>
.. I hope it'll work... :-)