javascript - Getting an error even when checkbox is checked -


From all instances, I have found that is used (': check') to The correct checkbox is checked, and if it is not wrong in my case, it lies on both situations, what is my fault?

  {xtype: 'checkbox', box label: 'show message', id: 'main box', handler: function () {alert ($ (this) .is (': check That ')); According to}  , I will try:  

  {xtype: 'checkbox', box label: 'show message', id: 'main box', handler: function (field, value) {warning (value); }}  

Comments

Popular posts from this blog

mysql - How to enter php data into a html multiple select box -

java - Can't add JTree to JPanel of a JInternalFrame -

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -