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 867 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 1137 posted 14 years ago by chopbust
cause i'm so lazy
0 929 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 2201 posted 14 years ago by ramirocalero
All credit goto author. Not me.
0 841 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 3525 posted 14 years ago by juanduke
This snippet of code is probably the most common and _valuable_ in the world of jQuery.
1 1150 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 1131 posted 14 years ago by housecor
Learn how to test for CSS property support in specific browsers using this simple Javascript technique.
2 1009 posted 14 years ago by neal_grosskopf
2 1122 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 1072 posted 14 years ago by e11world
0 966 posted 14 years ago by virua
1 702 posted 14 years ago by rebel2000
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2 1118 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 1207 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 1061 posted 14 years ago by andres_314
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 1376 posted 14 years ago by Nettuts
Also includes the fix for when the user resizes the window.
4 1058 posted 14 years ago by Meander365
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3 1205 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 1572 posted 14 years ago by roblynch
1 1038 posted 14 years ago by sb_01
1 933 posted 14 years ago by sb_01
1 875 posted 14 years ago by sb_01
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1 1272 posted 14 years ago by f6design
1 ... 17 18 19 20 21 ... 46