Tags » Jacob Cohen

How to out tag location in javascrpit without changing the DOM

Lets say I have the following code:

<body>
  <a>1</a>
  <a>2</a>
</body>
<script>
var as = document.getElementByTagName('a');
for(var i=1; i<=as.length; i++) {
  as[i].onclick = function(){
    alert(i);
  }
}
</script>
… 34 more words
Recent Questions - Stack Overflow

PATCH DENIM

Photos: Lorna Luxe 

 

Patch denim is assuming my whole outfit scene – See more on my Instagram - one attire at a time. I slipped this pair from the Jacob Cohen show room before London Fashion Week and hardly have taken them off. 63 more words

Zadig&amp;Voltaire

Chiara's room e il kit di sopravvivenza per la vita di campagna

T RA   I L    V E R D E    D E I    P R A T I    E    L’  A Z Z U R R O    D E L   C I E L O.   368 more words

Fashion