crocop21
25 Jul 2012, 12:01 PM
Hi all, i am trying to get the input value from a radio who is in a radio group for compare:
my radio is:
xtype: 'radiofield',
id: 'rd_mail',
name: 'rd',
boxLabel: 'Send',
inputValue: 'yes',
flex: 1
I try to do this
var rd1 = Ext.getCmp('rd_mail').getValue();
if(rd1== yes)
{
NewPanel.show();
}
but is showing me "false"
my radio is:
xtype: 'radiofield',
id: 'rd_mail',
name: 'rd',
boxLabel: 'Send',
inputValue: 'yes',
flex: 1
I try to do this
var rd1 = Ext.getCmp('rd_mail').getValue();
if(rd1== yes)
{
NewPanel.show();
}
but is showing me "false"