This is my personal blog to store all my experience as a SharePoint developer. I work mostly on developing 'In-House' solution that use Asp.net which run on top of SharePoint. I've experienced in developing this solution from SharePoint 2007, 2010, 2013 and 2016.
Wednesday, 28 December 2011
create element in javascript
This is a javascript to insert in the head tag. Similarly to this, we can use it for other elements.
var headID =document.getElementsByTagName("head"[0];
var baseT =document.createElement('base');
baseT.target ='_self';
headID.appendChild(baseT);
No comments:
Post a Comment