Html

What to use when specifying an empty link

http://stackoverflow.com/questions/134845/href-tag-for-javascript-links-or-javascriptvoid0

Use href="#", make sure onclick always contains return false; at the end, that any called function does not throw an error and if you attach a function dynamically to the onclick property make sure that as well as not throwing an error it returns false.

OR

Use href="javascript:void(0)"

The second is clearly easier to communicated.

Styling input type=file field

Many relevant links:

http://stackoverflow.com/questions/4909228/style-input-type-file

Last edited by Artem Dudarev, 2013-10-13 02:01:37. Edit