Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

How To append Action in component.js

$
0
0

@Amol_Chaudhari wrote:

Hello Team ,

I have created text field dynamically from javascript

$(“myDiv”).append(’’)

But I also want add action to it like below

$(“myDiv”).append(’<input type=“text” onblur={{action “validateField”}} class=“form-control mgmt-input” placeholder="">’)

but its not working ,could you please help me out with it, how I can do this

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles