[jQuery] input textfield within a DIV that is sortable
Hi,
I'm having trouble getting the cursor to focus on a text field within a DIV that has been made sortable. Here is the HTML
<div id="m12" class="sortList">
<form onsubmit="return get(this)"></form>
<table>
<tr>
<td><img width="100" src="images/roman.jpg" alt="" border="0"></td>
<td valign="top">
<table>
<tr><td class="itemHeader">Roman Numeral Converter</td></tr>
<tr><td class="item">Type in a number in either form.</td></tr>
<tr><td class="item"><input size="16" ></td></tr>
<tr><td class="item"> <input type="submit" value="Convert"></td></tr>
</table>
</td>
</tr>
</table>
</form>
</div>
and here's the JS ...
$('div.listGroup1').Sortable(
{
accept : 'sortList',
helperclass : 'sortHelper',
activeclass : 'sortableactive',
hoverclass : 'sortablehover',
opacity: 0.8,
tolerance: 'intersect',
onStart : function()
{
$.iAutoscroller.start(this, document.getElementsByTagName('body'));
},
onStop : function()
{
$.iAutoscroller.stop();
saveDivPositions();
}
}
)
when I try and click on cursor on the textfield, it won't focus (no cursor appears within the textfield). Any advice on what I can do to enter data in the textfield?
Thanks, - Dave
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/