Sometimes we need to use some unique tags which are not available in HTML. For this we can just use these tags in our html coding, but in some specific cases our browser will not display them because these are not identified and comes within "<>".
To avoid this condition we can add these tags('rep' in my case) programmatically using jquery in our hook_init funciton of module:
function mymodule_init() {
drupal_add_js('$(function(){
document.createElement("rep");
});', 'inline');
}
Or we can add them directly in any javascript file which is already added to website
0 Comment(s)