Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged javascript
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Since tinyMCe doesn't transfer it's editor contents to the text area until you hit the submit button, and since the autosubmitter doesn't ever hit the submit button TinyMCE boxes never save. IT's a simple fix, just place the code on line 2, at the ve...
0
717
posted 13 years ago by FatFolderDesigner
I needed a way to talk to Google Calendars. here's how I was able to create a RFC 3339 timestamp
0
1002
posted 14 years ago by chrisaiv
this is my way of working out the contents of an object when I don't have access to a debugger like firebug
0
529
posted 14 years ago by iancrowther
it parses given string and returns 1st number it encounters ( it will replace comas with dots so floats formatted as 12,345 could be 12.345 ( some countries use that ) )
then u can parse returned value as a number / float / int - do what You need...
0
890
posted 14 years ago by stryju
quick snippet to select all the check boxes on a drupal permissions page. helpful when setting up a role for Admin
0
766
posted 14 years ago by cwd
Transform a color given in hex to RGB. An optional opacity argument also enables RBGA.
0
804
posted 14 years ago by madr
Method for setting maximum on JQuery tools rangeinput slider. Add this method to RangeInput $.extend with the other get/set methods.
1
675
posted 14 years ago by dmertl
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
608
posted 14 years ago by chopbust
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
3026
posted 14 years ago by juanduke
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
748
posted 14 years ago by neal_grosskopf