Welcome To Snipplr


Everyone's Recent Snippets



1 ... 195 196 197 198 199 ... 553
See also the [plain JavaScript version](http://snipplr.com/view/41717/default-value-for-input-fields/).
1 1737 posted 15 years ago by riddla
0 2080 posted 15 years ago by arifwidi
0 1466 posted 15 years ago by dropthenerd
6 2163 posted 15 years ago by dropthenerd
My Drop Column.sql This template drops a columns of the table.
0 1249 posted 15 years ago by edwinet
My Add Column Varchar.sql This template adds a new varchar column to the table.
0 1382 posted 15 years ago by edwinet
Removed depreciated elements, added Firefox button dotted line removal and fixed a few other styling issues. Compressed version in the link above.
1 2034 posted 15 years ago by vagrantradio
// big thanks to these tips for giving me code to steal: http://bit.ly/bundles/brandonjp/9 /* * USAGE: give your HTML textarea or text input element an ID * give your button an onClick="insertThisInThere(text2insert, theInputIDwhereItGoes);"...
0 4198 posted 15 years ago by brandonjp
Action do form com onClick, porque o clickmap do catalyst não identifica input e não contabiliza clique
0 1133 posted 15 years ago by mnezes
Data Types for DB, MySQL, SQLite, PHP, Ruby, Rails, JS, etc. because I forget them sometimes from Ruby on Rails Guides: Migrations http://bit.ly/hFWjT0 from Rails Migrations http://bit.ly/hI5zpz
0 1884 posted 15 years ago by brandonjp
Ruby / Rails - A refresher reference for me because I forget how to do this... create project generate scaffold scaffolding migrate db start server
0 2081 posted 15 years ago by brandonjp
links (full <a href="#"> element) to Show Edit Destroy Delete records in view *.erb must be in the record loop:
0 3236 posted 15 years ago by brandonjp
if then statement... in a view file *.html.erb:
0 2638 posted 15 years ago by brandonjp
0 1251 posted 15 years ago by esundahl
1 1622 posted 15 years ago by tribal
If you every get hit by ERROR 1153 (08S01): Got a packet bigger than 'max_allowed_packet' bytes, then this might help. You also need to make sure that the user that you log in with has SUPER privileges on their account.
0 1566 posted 15 years ago by daipratt
toggle function for showing/hiding LI elements that slide up/down into the UL title box
0 1283 posted 15 years ago by mckewans
0 1280 posted 15 years ago by davebowker
0 1872 posted 15 years ago by jodm
f you wish to use any of the meta-characters ( such as !"#$%&'()*+,./:;?@[\]^`{|}~ ) as a literal part of a name, you must escape the character with two backslashes: \\. For example, if you have an an element with id="foo.bar", you can use the select...
0 1166 posted 15 years ago by bitstream
1 1589 posted 15 years ago by fadehelix
## Benefit To notify visitors that the current post they are viewing is an old post. Suitable for Blog / Website that provide timely articles
0 1564 posted 15 years ago by firewalker06
0 1266 posted 15 years ago by germanny
0 1285 posted 15 years ago by SixteenOne
1 ... 195 196 197 198 199 ... 553