HTML:
<div class="mydiv">
My Div
<ul>
<li><input type="submit" value="first"/></li>
<li><input type="submit" value="second (blah blah)"/></li>
<li><input type="submit" value="third . blah blah"/></li>
</ul>
</div>
How can I retrieve the value of the input and replace any '(' or '.' with a '\n'? The result would appear like:
second
(blah blah)
inputtext boxes may only have one line, AFAIK.