Tag: javascript
DOM element class - css reference or javascript reference?
Apr.20, 2010
Designer have used element class attribute for CSS styling for ages. Nowadays classes are also used in javascript selectors. This overlapping cause additional problems: Changes in js may cause broken design and changes in design may cause broken js. The last one may be hard to detect especially when design and css are handled by different person.
(continue reading…)
5 Comments
:class, css, dom, element, html, javascript
more...
Clear upload file input field
Apr.23, 2009
Many web developers came to the problem that they are not able to change value of file input field from Java Script in the web application. There is no access to value field of file input tag because of security restriction. However there is a trick how to erase this field if you need it in your application.
(continue reading…)
41 Comments
:file, howto, html, input, javascript
more...
(continue reading…)