Joined June 2012
· Posted to use type="button" if you don't want to submit over 1 year ago
never tried that, but its an option!
Usually when i need a "no submit" button I go for onclick='foo();return false' or onclick='return foo()'
Posted to Chrome notification over 1 year ago
Worth saying that this could also be used in webpages, you'll need to add permission handling with: window.webkitNotifications.checkPermission() and window.webkitNotifications.requestPermission().
Note: You must try this using a server request (it won't work with a file:// URL )
A complete example can be found here: http://www.html5rocks.com/en/tutorials/notifications/quick/
regards!
Posted to The single most useful thing in bash over 1 year ago
i think it is a middle term solution between CTRL+R and ZSH!
;)
Posted to OSX .bashrc and .bash_profile over 1 year ago
@amalrik vlw! tks!
Achievements
149 Karma
13,998 Total ProTip Views
Mongoose
Have at least one original repo where Ruby is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
Charity
Fork and commit to someone's open source project in need
Hey, try checking if your $expire parameter is not too small (like a few milliseconds).