iam using input helper in ember for binding attributes value
<div class="form-group profile-desa-component-form-group">
<label class="col-sm-4 control-label"></label>
<div class="col-sm-8 no-padding">
<- this is my input helper
<input readonly class="form-control btn-no-corner readonly" type="text" value=>
</div>
</div>
i just want to pass an event object from key-press = onKeyPressShowPanel to the controller so i can use event.target to manipulate some element via jquery snipet. this is my onKeyPressShowPanel action in controller
onKeyPressShowPanel(event){
this.debug(event);
},
unfortunately the event that i pass is a value that come from value = alamat. how to get an event.target from event on input helper so i can manipulate some element using jquery. Any answers would be helpfull for me.. thank you :)
Aucun commentaire:
Enregistrer un commentaire