Apr 14, 2006 #1 aigarzzz Programmer Apr 5, 2006 16 LV myform=document.createElement("form"); myinput = document.createElement("input"); myinput.setAtribute('type','text'); myinput.setAtribute('name','formName'); myform.appendChild(myinput); i dont understand why it doesn't work..
myform=document.createElement("form"); myinput = document.createElement("input"); myinput.setAtribute('type','text'); myinput.setAtribute('name','formName'); myform.appendChild(myinput); i dont understand why it doesn't work..
Apr 14, 2006 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB "setAtribute" is a typo. Attribute has 2 Ts: setAt[!]t[/!]ribute. Hope this helps, Dan [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt] Upvote 0 Downvote
"setAtribute" is a typo. Attribute has 2 Ts: setAt[!]t[/!]ribute. Hope this helps, Dan [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt]
Apr 14, 2006 #3 jemminger Programmer Jun 25, 2001 3,453 US and are you appending the form to anything? -jeff http://www.jeffemminger.comlost: one sig, last seen here. Upvote 0 Downvote
and are you appending the form to anything? -jeff http://www.jeffemminger.comlost: one sig, last seen here.