var device_name = sreeni , murtuza , deepu , bharath , …… n th number
i need to split this Variable based on the comma and put it in a drop down box.
example:
sreeni
murtuza
deepu
bhatah
Please provide a solution using through Javascript or Jquery
With plain JS,
JSFiddle
More Hacky way,