I have an example here.
Basically i have a scroll bar that is always present, even if it is not currently needed.
Problem: I want a scroll bar to appear if the height of my div exceeds 300 pix.
<fieldset id=typography>
<ul>
<li><label for=Poll Question>Header</label></li>
<li><input type=text id=formheader value=Header></input></li>
<div class=scroll>
<li><label>Answers</label></li>
<li id=formanswer1 class=clonedInput><input type=text id=formanswer1 value= /></li>
<li id=formanswer2 class=clonedInput><input type=text id=formanswer2 value= /></li>
<li id=formanswer3 class=clonedInput><input type=text id=formanswer3 value= /></li>
</div>
<li><input type=button id=btnAdd value=Add Answer />
<input type=button id=btnDel value=Remove Answer /></li>
</ul>
I would appriciate any help. i know i need to use JS but im not even sure where to begin.
Question 2: Is there a easy command that i can use that when i push the add button it scrolls to the very bottom of the scroller?