Thread: Changing input type in webkit
hi,
webkit seems have bug can't change input type javascript. know of solution this?
the alternative can think of replace input box new 1 thats bad workaround in opinion.code:<html> <body> <form action="/"> <input id="form" type="text" /></form> <script type="text/javascript"> alert(document.getelementbyid('form').type); document.getelementbyid('form').setattribute('type', 'file'); alert(document.getelementbyid('form').type); </script> </body> </html>
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Changing input type in webkit
Ubuntu
Comments
Post a Comment