Skip to content

Instantly share code, notes, and snippets.

@ugurerkan
Last active August 29, 2015 14:05
Show Gist options
  • Save ugurerkan/ab48bec606e68456d040 to your computer and use it in GitHub Desktop.
Save ugurerkan/ab48bec606e68456d040 to your computer and use it in GitHub Desktop.
var container = document.getElementById('answer');
for(var i = 1; i <= 5; i++) {
var a = document.createElement("a");
a.innerHTML = "link" + i + " ";
var onClick = function () {
var i = this.innerHTML.substr(-2);
alert(i);
};
a.addEventListener("click", onClick);
container.appendChild(a);
}
while(1==1) alert('Tşk');
@ugurerkan
Copy link
Author

regex yapalım da sheqlimiz belli olsun Bıyıklı dayı

(OLMADI)
https://www.facebook.com/ugurerkan/posts/10152406078617632 şevket lobisi...............

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment