new_name) {}
$(this).modalForm这在第一次是有效的,但是一旦context_menu_BTN1的data-id发生变化,它就会给出一个Uncaught TypeError: $(...).modalForm is not a function编辑:这是为Jeremy J Starcher's响应添加的代码:我检查了它的值,它是
gridView.GetRow(gridView.GetSelectedRows()[0]) as staff; MifarePasswordForm modalForm= new MifarePasswordForm(); RefreshData();这是我的密码表。staff entity = gridView.GetRow(gridView.GetSelectedRows()[0]) as staff;