Javascript
var1.attr('title',vartit);
$(var1).attr('datetime',vartim);
Html
<time title="" datetime=""> </time>
I could successfully add the variable value in the respective html attributes but its not visible in view source.
I found some answers like innerHtml and all but they are for inside of time or div but not for html tag attributes, how can make that possible??
Thanks in advance