Input type=submit VS Button type=submit

A partir de ahora en vez de utilizar en los formularios como Botón de submit el código siguiente:<input type=“submit” name=“button1” value=“Button1” /> Voy a a utilizarlo así:<button type=“submit” name=“button1” value=“somevalue”>Button1</button> Las razones a favor:     Es más fácil de darle estilo y de incluir elementos como imagenes, etc. Ejemplo: <button type=“submit”><img src=“icono.png” alt=“” /> Enviar</button>Buttons […]

jQuery Org Chart – a plugin for visualising data in a tree-like structure « The Silver Lining

jQuery Org Chart – a plugin for visualising data in a tree-like structure « The Silver LiningjQuery OrgChart is a plugin that allows you to render structures with nested elements in a easy-to-read tree structure. To build the tree all you need is to make a single line call to the plugin and supply the […]

Say hello to Bootstrap 2.0 | Twitter Developers

Say hello to Bootstrap 2.0 | Twitter DevelopersWhat’s new Bootstrap 2 brings a plethora of changes and new features to the toolkit, many added as a result feedback from the community. In addition, much of our work was guided by our experiences of working on Twitter.com’s latest redesign where we created a flexible and durable […]

Sisyphus.js, a library that helps save the state of your forms

Sisyphus.js, a library that helps save the state of your formsSisyphus.js it’s a library that helps save the state of your forms with the use of HTML5 Local Storage. “Imagine you’re filling a complex form on site, or typing effervescent and extensive comment. And when you’re almost done with that browser is crashed, or you […]

Javascript Best Practices

Javascript Best PracticesTable Of Contents Always Use ‘var’ Feature-Detect Rather Than Browser-Detect Use Square Bracket Notation Avoid ‘eval’ Reference Forms and Form Elements Correctly Avoid ‘with’ Statements Use onclick In Anchors Instead Of javascript: Pseudo-Protocol Use The Unary + Operator To TypeConvert To Number Avoid document.all Don’t Use HTML Comments In Script Blocks Avoid Cluttering […]