Welcome To Snipplr


Everyone's Recent Snippets



1 ... 461 462 463 464 465 ... 553
The problem is some times the redirect may kick you off to the next page before all the session variables have been saved. The true solution to lost session vars on redirect is to simply call session_write_close(); before setting the redirect header....
0 2095 posted 17 years ago by Wardy
Como la palabra delete es una palabra reservada, daba error en la detección de esa tecla cuando es pulsada. Para detectar ese evento, hay que usar otra forma:
0 1034 posted 17 years ago by ianmonge
0 1030 posted 17 years ago by liuran
A function to remove tags and to also remove excess spaces.
1 1332 posted 17 years ago by donkeykong
0 1215 posted 17 years ago by hdanniel
originally posted by penguin999 here: http://snipplr.com/view/3372/radio-button-values-using-jquery/
2 2027 posted 17 years ago by omixen
Add two containers to the element to be centered. This is also needed for IE6: 1. <!--[if>--> 2. .navwrap ul{float:left;} 3. <![endif]-->
0 1315 posted 17 years ago by kanirasta
1 1192 posted 17 years ago by frietkot
0 1138 posted 17 years ago by hdanniel
0 968 posted 17 years ago by hdanniel
Ability to change/add attributes to HTML using JQuery
1 1014 posted 17 years ago by davebowker
Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).
1 1518 posted 17 years ago by narkisr
0 1098 posted 17 years ago by johnloy
https://www.chrisjmendez.com/2008/10/18/search-for-mp3s-pdfs-or-comic-books-using-google/?utm_source=snipplr&utm_medium=profile&utm_campaign=personal_branding
1 1746 posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8 2120 posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6 1546 posted 17 years ago by chrisaiv
this doesn't work at all.
0 1158 posted 17 years ago by itsok2kry
Use by inserting the following in the head. <script> $(document).ready(function() { $("input").toggleVal(); }); </script>
0 1542 posted 17 years ago by davebowker
remove(array) --> array Array.remove(a) simply removes all the items in the passed in array from the current scope array. Good for bulk operations.
0 1351 posted 17 years ago by kouphax
A bash script that calls Drush for all your multisite sites and returns a list of available and installed modules for each site.
2 1636 posted 17 years ago by berkes
0 1262 posted 17 years ago by ivang
An XHTML Example
2 1219 posted 17 years ago by Hirmine
1 ... 461 462 463 464 465 ... 553