Forum Moderators: open
Here is the problem statement .I have a text box for names and a list for categories.What I want is when the user types a name and selects the category and clicks submit the name should appear under the list div.
Example: Name : Bob
List: Student(selected)
Result: the name appears under Student div
Simple? Would very much appreciate the code to do that, and please assume I know zero about JS - so I need it all
<strong>Student:</strong><hr>
<div id="div"></div>
<input type="text" id="name"><br />
<input type="submit" value="Submit" onclick="PlaceInDiv();">
Not quite sure if this is what your looking for, if not just explain it a little more.