Skip to content Skip to sidebar Skip to footer

How To Make The Table Content Wil Shown Automaticly In Pop Up Form

i try to make a table in my web. Table content have value that i use for parameter in the next action and automaticly shown on form. here my skenario the content of the table as b

Solution 1:

yes i find that

<script>functionsetvalue(values) {
        document.getElementById('posisi').value = values;
    }
    </script><div><tablewidth="1023"height="248"border="1"><tr><td><inputtype="button"onclick="setvalue(this.value);"value="A1.8" /></td></tr></table></div><divclass="popup_window_css"id="sample"><tableclass="popup_window_css"><trclass="popup_window_css"><tdclass="popup_window_css"><divclass="popup_window_css_head"><imgsrc="images/close.gif"alt=""width="9"height="9" />Aksi</div><divclass="popup_window_css_body"><divstyle="border: 1px solid #808080; padding: 6px; background: #FFFFFF;"><formmethod="post"action=""><table><tr><td>Werehouse</td><tr><td>Posisi</td><td><inputtype='text'name="p"id="posisi" /></td></tr><tr><td>Product ID</td><td><inputtype='text'name="id" /></td></tr><tr><td>Product Name</td><td><inputtype='text'name="nama" /></td></tr><tr><td>Production Date</td><td><inputtype='text'name="tgl" /></td></tr><tr><tdcolspan='2'align='right'><inputtype='submit'value='Save'><inputtype='reset'value='Reset' /><inputtype='button'value='view'onclick=\ "window.location.href='#';\"/></td></tr></table></div></div>

you can cek here http://jsfiddle.net/JLExZ/

Post a Comment for "How To Make The Table Content Wil Shown Automaticly In Pop Up Form"