dynamically create element using javascript
- by ajithperuva
I need to create textbox dynamically when user click a link.And also i need to remove that textbox according to user decission.I am trying the following script.
<script language="JavaScript" type="text/javascript">
var Dom = {
get: function(el) {
if (typeof el === 'string') {
return document.getElementById(el);
} else {
…