Hi folks
I have this:
<input id="searchCust" type="text" ng-model="meval" class="form-control" />
            <div class="table-responsive">
                <table class="table">
                    <thead>
                        <tr>
                            <th>Contact Name</th>
                            <th>Company Name</th>
                            <th>ID</th>

                        </tr>
                    </thead>
                    {{custo}}
                    <tbody>
                        <tr ng-repeat="cust in customers">
                            <td>{{cust.ContactName}}</td>
                            <td>{{cust.CompanyName}}</td>
                            <td>{{cust.CustomerID}}</td>
                            <td><button ng-click="getcustid()" 
 class="select-cust-to-sell-to" id="{{cust.CustomerID}}">ddd</button></td>
                        </tr>
                    </tbody>
                </table>
            </div>
i need to set the value of CustomerID to #searchCust textbox.
Please how can i achieve this.
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to