How do you style file input elements?
|
09-26-2011, 05:19 PM
Post: #5
|
|||
|
|||
RE: How do you style file input elements?
function changeInputs()
{ var els = document.getElementsByTagName('input'); var elsLen = els.length; var i = 0; for ( i=0;i<elsLen;i++ ) { if ( els[i].getAttribute('type') ) { if ( els[i].getAttribute('type') == "text" ) els[i].className = 'text'; else els[i].className = 'button'; } } } This a program by which you can style your file elements. Web design company | Outsourcing Web Design | android developers |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)