Skip to content

Instantly share code, notes, and snippets.

@Victa
Created June 11, 2011 11:21
Show Gist options
  • Save Victa/1020467 to your computer and use it in GitHub Desktop.
Save Victa/1020467 to your computer and use it in GitHub Desktop.
Create link with Javascript
html="<a href='"+url+"'>"+text+"</a>" // before
html=text.link(url) // after
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment