Add new attribute to MagicSuggest div -


is possible add new attribute main div.

for example in html output(by default):

<div id="my-id" class="ms-ctn form-control ms-ctn-focus" style="">     .... </div> 

instead (add new-attr="value"):

<div new-attr="value" id="my-id" class="ms-ctn form-control ms-ctn-focus" style="">     .... </div> 

edit directly magicsuggest source code adding attr, or use jquery add new attribute with:

$('my-id').attr('new-attr', 'value');

http://api.jquery.com/attr/


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -