vendredi 27 mai 2016

if withdraw set value to #value1 else #value2

({
  selectDefaulAmt: (function() {
    if ('currentPath' === '??') {
      return this.send('selectAmount', 50);
    } else {
      return this.send('selectAmount', 100);
    }
  }).on('didInsertElement')
});

I need to change value based on current url, some advice ??




Aucun commentaire:

Enregistrer un commentaire