http://www.youtube.com/watch?v=xIxDJof7xxQ - HTML 5 features in simple examples.
http://eli.thegreenplace.net/2009/08/29/co-routines-as-an-alternative-to-state-machines/ - coroutines (examples in python).
понедельник, 31 августа 2009 г.
пятница, 31 июля 2009 г.
пятница, 17 июля 2009 г.
Default button type in IE vs Firefox
If you just write <button>, what type will it be: input, reset or submit?
Also:
Firefox | IE |
---|---|
Well, the specs (http://www.w3.org/TR/html401/interact/forms.html#h-17.5) are clear on that one, so that's pretty much no surprise. It's submit. What's less obvious is when you put a button inside a form, pushing it does reload a page, unless you return false from onclick handler. | Here the default value is button. It's sort of convenient for JavaScript apps actually. |
Also:
Подписаться на:
Сообщения (Atom)