I have textboxes and a check box and two radio buttons. Can anyone help me out how i can save these fields value on onchage events: my code is:
Code:
xtype: 'form',
id: 'phyexam_show_all_sys_panel' + r.get('id'),
frame: false,
autoScroll: true,
border: false,
items: new Ext.DataView({
store: new Ext.data.JsonStore({
url: 'connect.php',
baseParams: {
moduleId: moduleId,
action: 'doAction',
section_name: 'ALL',
activity: 'getROS'
}, autoLoad: true,
root: 'ALL',
fields: ['section', 'section_item', 'id']
}),
tpl: new Ext.XTemplate('<tpl for=".">', '<div class="ros-wrap-class" title="{section}">', '<div class="ros-textbox-class">', '<span style="font-size:12px">{section_item}</span><br/>', '<input type="text" onkeyup="alert(this.value)">', '</div>', '<div>', '<fieldset class="ros_fieldset">', '<input type="checkbox">', '<span> Current</span><br/>', '<input type="radio" name="{section_item}" id="{id}_1">', '<span> Yes </span>', '<input type="radio" name="{section_item}" id="{id}_2">', '<span> No</span>', '</fieldset>', '</div>', '</div>', '</tpl>'),
listeners: {
click: function (dataView, index, node, e) {}
}, id: 'soap-phyexam-center-rosall' + r.get('id'),
autoHeight: true,
itemSelector: 'div.ros-wrap-class',
emptyText: 'No images to display'
})
i want to save my all values like textfield + checkbox + radio button everythin on onchange.
Please help... Thanks in advance.