我有两个单选按钮,即用户和组。单选按钮需要重置,同时刷新
如果选择组并刷新浏览器,它将保持在组中。
当我给ctrl + f5它重置为用户。
我需要的是:
While i click the refresh button in browser the radio button should be reset to users even it is selected as groups.
编辑:CODE
$form['groups'] = array(
'#title' => t('Groups'),
'#type' => 'select',
'#multiple' => 3,
'#options' => $options,
);
$form['users'] = array(
'#type' => 'textfield',
'#title' => t('Users'),
'#description' => t('Separate multiple names with commas.'),
'#default_value' => '',
);
这是任务使用的Drupal和jQuery开发..
对此意志任何帮助感激并感激......
在此先感谢...
可以显示您用于单选按钮的标记吗? – kinakuta
请立即检查... – Fero