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 757 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 1036 posted 14 years ago by chopbust
cause i'm so lazy
0 838 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 2102 posted 14 years ago by ramirocalero
All credit goto author. Not me.
0 734 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 3353 posted 14 years ago by juanduke
This snippet of code is probably the most common and _valuable_ in the world of jQuery.
1 1052 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 1051 posted 14 years ago by housecor
Learn how to test for CSS property support in specific browsers using this simple Javascript technique.
2 872 posted 14 years ago by neal_grosskopf
2 1023 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 1010 posted 14 years ago by e11world
0 864 posted 14 years ago by virua
1 658 posted 14 years ago by rebel2000
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2 1035 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 1084 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 962 posted 14 years ago by andres_314
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 1292 posted 14 years ago by Nettuts
Also includes the fix for when the user resizes the window.
4 942 posted 14 years ago by Meander365
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3 1094 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 1452 posted 14 years ago by roblynch
1 963 posted 14 years ago by sb_01
1 834 posted 14 years ago by sb_01
1 811 posted 14 years ago by sb_01
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1 1170 posted 14 years ago by f6design
1 ... 17 18 19 20 21 ... 46