Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 17 18 19 20 21 ... 46
When a link is clicked, call up this function. Parameter message = message you want to display after click url = page you want to forward to if the user clicks OK
1 611 posted 14 years ago by chopbust
This is to call up Javascript alert through PHP. I hate switching between echoing Javascript while writing PHP so I wrote one in PHP.
0 897 posted 14 years ago by chopbust
cause i'm so lazy
0 707 posted 14 years ago by Savio
Hay dos maneras, la mejor es usar el script manager, tambien ver la diferencia entre http://forums.asp.net/t/902895.aspx
0 1885 posted 14 years ago by ramirocalero
All credit goto author. Not me.
0 585 posted 14 years ago by easy2die
On click event, display a div on mouse coords. Tested on Firefox 3.6.11, chrome 6, internet explorer 6. Based on this source code: http://www.webdeveloper.com/forum/showthread.php?t=92007
0 3028 posted 14 years ago by juanduke
This snippet of code is probably the most common and _valuable_ in the world of jQuery.
1 904 posted 14 years ago by creativeboulder
Be sure to call the exact version desired or the script is only cached for one hour! http://encosia.com/2009/10/11/do-you-know-about-this-undocumented-google-cdn-feature/
1 884 posted 14 years ago by housecor
Learn how to test for CSS property support in specific browsers using this simple Javascript technique.
1 749 posted 14 years ago by neal_grosskopf
2 882 posted 14 years ago by nveselinov
This is a very useful piece of code (html, css, jquery) to have a nice animated floating menu on your page. I totally love it. I used it with jquery 1.3.2 and up
3 875 posted 14 years ago by e11world
0 696 posted 14 years ago by virua
1 510 posted 14 years ago by rebel2000
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2 904 posted 14 years ago by thiswayup
In regards to progressive enhancement, see also the [jQuery version](http://snipplr.com/view/48275/default-value-for-input-fields-jquery-version/).
6 940 posted 14 years ago by riddla
<p>This snippet could be used when a text input has a default value. Thus, when user clicks on the input to write, the default value disappears and allows the user to write, but if the user does not type anything, the default value will appears again...
1 822 posted 14 years ago by andres_314
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 1113 posted 14 years ago by Nettuts
Also includes the fix for when the user resizes the window.
4 795 posted 14 years ago by Meander365
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3 957 posted 14 years ago by Nettuts
This is a simple bit of code that allows you to do a write once date format in a PHP style date() format and convert it to be used by datepicker jQuery UI widget. It returns the converted string.\r\n\r\nNothing fancy here, but a time saver for the f...
1 1276 posted 14 years ago by roblynch
1 835 posted 14 years ago by sb_01
1 717 posted 14 years ago by sb_01
1 699 posted 14 years ago by sb_01
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1 1029 posted 14 years ago by f6design
1 ... 17 18 19 20 21 ... 46