Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged link



« Prev 1 Next »
Ask the user with a confirmation dialog if the link should be followed or not.
0 774 posted 12 years ago by gummiost
Convert a form submit button code to a hyperlink code and hide the form
0 924 posted 13 years ago by pavlosvos
0 804 posted 13 years ago by ronal
<p>usage: <br> <code>&lt;a href="" onclick="recordOutboundLink(link, category, action, opt_label, opt_value);return false;"&gt; <br> &lt;form id="uniqueID" onsubmit="trackFormSubmit(form, category, action, opt_label, opt_value);return false;"&gt;</...
0 1291 posted 13 years ago by freezy
uses JavaScript to check DOM for proper clean linkback to widget source
1 783 posted 14 years ago by cartercole
0 638 posted 14 years ago by silverskymedia
3 1059 posted 14 years ago by Mosaic
Passes variables for url and highlighted text.
0 932 posted 15 years ago by vagrantradio
Go to link location when tab clicked (or selected actually) using 'select' event.
0 1010 posted 16 years ago by ardissoebrata
Two different ways to open an external link (ones that start in http) in a new window. I know this isn't a great thing to do, but some clients _need_ to have it.
3 1476 posted 16 years ago by 1man
0 712 posted 16 years ago by wizard04
This simple little snippet will allow you to change two iframes with the click of just one link.
1 917 posted 16 years ago by aristoworks
1 797 posted 16 years ago by wesbaker
It redirects the url with JS.
0 840 posted 16 years ago by skywalker
Name the form what ever you like, but make sure that is reflected in the javascript.
0 4940 posted 16 years ago by jachin
Shows you how to link 2 objects together via the object function. If a value isn't found in the object, it will look for it in the linked object.
0 781 posted 18 years ago by 1man
The ideal use of this code would be to save the Javascript code as a .js file. Then use the HTML code at the bottom to call it wherever you want on the web page.
1 1087 posted 18 years ago by Jaymoon
« Prev 1 Next »