Can't execute function in div with id? Javascript > Forms > Select, Help!
Can't execute function in div with id? Javascript > Forms > Select, Help!
I am writing an HTML form. I need the selected value of a <select> tag to then populate an <input type="text" [...] /> tag. I got this to work just fine, but when I wrap the form in a <div id="form">[...]</div> it stops working. I have searched up and down google for an answer, but I am unsure if I even understand how to ask the question!
Ok, That seams to have worked in my quick crude sample, but doesn't seam to work for the actual page that I am trying this on. Thanks for the help!
I think I understand what that "document.whatever..." line does, but I can't seams to figure it out. I am a long time PHP programmer, but I never understood Java and never really coded it until today. So as you can image, a lot of questions come to mind. Could you maybe explain how that "document.something.form.whatever.value" is structured? What is it called so I can good look it up myself.
I'm sure it's something simple I just don't know what to search for to find my answer!
Bookmarks