PDA

View Full Version : How to convert existing form field to sencha form field



parasharsh
9 Feb 2012, 8:04 PM
Can we convert an existing form field to sencha form field similar to JQuery?
For example
<input type="text" id="spinnerconfig" value="0" />
<script type="text/javascript">
jQuery().ready(function($) {
$('#spinner').spinner({ min: -100, max: 100 });
</script>



This is required if we use existing form tags from Struts...
and then attach behavior to it externally.

mitchellsimoens
10 Feb 2012, 4:22 AM
There is not a built-in way