Change div to display inline - Javascript DOM HTML Element

Javascript examples for DOM HTML Element:Div


Change div to display inline

Demo Code

ResultView the demo in separate window

            function show()//from  ww w . j a  v a  2  s  .co  m
      <div id="show">
         <a href="#" onclick="show()">Upload my file</a>
      <a href="#" onclick="show()"> 
         <div id="box" style="display:none" ;>
            <input type="file">

Related Tutorials