<a id="link1" href="<a href="http://mapy.emiejsca.pl/lublin,mapa.html">http://mapy.emiejsca.pl/lublin,mapa.html</a>" rel="follow">link</a>
alert(document.getElementbyId('link1').getAttribute('rel'));
<a id="link1" href="<a href="http://mapy.emiejsca.pl/lublin,mapa.html">http://mapy.emiejsca.pl/lublin,mapa.html</a>" rel="follow">link</a>
alert(document.getElementbyId('link1').getAttribute('rel'));
var obj_style = $('id_elementu').getAttribute('style');
obiekt_property = "";
for (i in obj_style)
obiekt_property += i + " " + obj_style[i] + "";
alert(obiekt_property);
function ulubione() {
var nazwa = 'Wola Korybutowa';
var url = 'http://www.wolakotybutowa.pl';
if (window.external) window.external.AddFavorite(url, nazwa)
if (window.sidebar) window.sidebar.addPanel(nazwa, url, "");
}
if (window.external || window.sidebar) {
document.writeln('<a href="javascript:ulubione()">dodaj do ulubionych</a>');
}
<tr onMouseOver="this.bgColor='#efefef'" onMouseOut="this.bgColor='#ffffff'">