Choppa
www.warcraft-gamers.po.gs
- Reaction score
- 59
PHP:
<script language="javascript" type="text/javascript">
function addChkBx_onclick(){
var table = document.getElementById('thing');
var newTH = document.createElement('td');
var lastTableRow = table.insertRow();
var lastCreatedRow = table.document.createElement('td');
lastTableRow.innerHTML = "<input type='checkbox'/>";
}
</script>
I also want to insert a textbox next to that, I have a table with 2 columns and I want to insert a textbox in the second column, how would I go about doing this?