jeudi 3 novembre 2016

I want to check all table rows in Ember.js

I want to check all table rows and if all values are same alert('ok) in Ember.js Here is my Code.

actions:{
checkValue: function(){
  var r = this.$('.cellValue').text();
  if(r == '|'){
    console.log('ok');
  }else{
    console.log('bad');
  }
 }
}




Aucun commentaire:

Enregistrer un commentaire