How to make jquery autocomplete to work for a contenteditable DIV instead of just INPUT, TEXTAREA fields.
I have a use-case to make a DIV element act as a TEXTAREA by setting its attribute to contenteditable="true". Can I use the DIV's DOM handle for the autocompleter to behave as a textarea autocompleter. Currently the plugin 'as is' is not working over the DIV handle. What changes should I do for the plugin to work for all the above elements?
Thanks in advance!