Welcome To Snipplr


Everyone's Recent Snippets



1 ... 81 82 83 84 85 ... 552
There are a couple of steps involved to connect to an SAP web service. Really, its about the same as connecting to a regular ASMX web service, using the .ajax() function. Make sure you have a WSDL with the function and connection information. I recom...
0 2587 posted 14 years ago by mattvbiggs
Thank you marcg for posting this on Snipplr http://stackoverflow.com/questions/1379994/detect-when-a-specific-image-has-finished-loading
0 1924 posted 14 years ago by focal55
// quick function to cut back on the length of content
0 1847 posted 14 years ago by rliverman
Relies on "trunCate" a truncating function.
2 3059 posted 14 years ago by rliverman
0 2009 posted 14 years ago by inky76
0 1893 posted 14 years ago by inky76
0 1767 posted 14 years ago by inky76
0 1692 posted 14 years ago by inky76
Thank you Jonathan Sampson for posting this on http://stackoverflow.com/questions/2050789/php-search-a-string-for-a-email-address
0 2560 posted 14 years ago by focal55
I hate manually entering in tons of numbers and tags for numbers, so I made a loop for it.
0 2962 posted 14 years ago by JonnyCraze
This piece of code will read a hex argument such as: ff or ab from your command line and stores it as a integer
0 6009 posted 14 years ago by vdevos
A crude script to query the GitHub API for a given Organisation, and backup its repositories and associated members forks.
0 3411 posted 14 years ago by slinky
Groovy Swing Recurse Components
0 3966 posted 14 years ago by laurenceosx
To be added to all Landing Pages and other new works
0 1599 posted 14 years ago by jburcsik
default theme perfect menu
0 1741 posted 14 years ago by webtechdev
Simular submit al hacer enter y tener un boton type="button"
0 1741 posted 14 years ago by rickyslow
Add the "no-js" class to your topmost html element, so you can use CSS to style JavaScript-free pages. This snippet will then replace that tag with "js", allowing you to style pages with JavaScript. The excellent [HTML5 Boilerplate](http://html5bo...
0 4922 posted 14 years ago by EvanHahn
Here's how to use this: * To access something in the local storage, type `Evan.local('name')`. You may need to use `JSON.parse()` on this result. Returns `null` if nothing's there. * To assign something in the local storage, type `Evan.local('nam...
1 1736 posted 14 years ago by EvanHahn
This prepends a `#` if it's not already there. Useful when doing jQuery selectors.
0 1487 posted 14 years ago by EvanHahn
`Object.create(null)` is a more memory-efficient way to make objects, but it's not supported in all versions of JavaScript, so you can do the "old-fashioned" `{}` if that function isn't available.
0 2221 posted 14 years ago by EvanHahn
Just came across pure css3 soothing clouds, looks awesome, checkout!
0 2815 posted 14 years ago by jimmy101
Writing an PHP array in a javascript file with json_encode.
0 2495 posted 14 years ago by Narayon
Use: <script> $(document).ready(function(){ $("#input").forceNumeric(); }); </script>
1 1942 posted 14 years ago by itsmeameer
This snippet will exclude the featured image from the attached images (gallery)
0 1728 posted 14 years ago by nerdsane
0 2563 posted 14 years ago by errata
0 2525 posted 14 years ago by errata
Easily breaks a string into an array of words. *If your string has special characters such as latin, add those characters to the r var. Just like var r:RegExp = /[^\wçàáâãèéêìíîòóôõùúûüÀÁÇÂÃÈÉÊÌÍÎÒÓÔÕÙÚÛÜ¡]+/...
0 4719 posted 14 years ago by izaiasdotcom
1 ... 81 82 83 84 85 ... 552