Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save joeegan/517135 to your computer and use it in GitHub Desktop.

Select an option

Save joeegan/517135 to your computer and use it in GitHub Desktop.
$("#foo").after('<li id="dom-el"><a href="/Register">Sign up</a><span></span></li>');
(function(){
if ($("#dom-el").length) {
myFunction();;
} else setInterval(arguments.callee(),100);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment