Tagged Questions
-1
votes
3answers
53 views
Dynamic click event for buttons [duplicate]
I have a button which calls a function via data-bind and generates a new button.
self.submitNewPopUp = function(data, event) {
var butnId = event.srcElement.form.id.replace('style-', '');
var ...
1
vote
1answer
33 views
AngularJS - ng:model - Field is readonly when bound to $q promise?
I'm attempting to return a single record from a promise in AngularJs (1.0.7) and bind the result to a form. The form binds correctly, however the input fields are read-only - I cannot edit the values. ...
0
votes
1answer
23 views
Getting select rows from ng-grid?
How do I create (or access) an array of selected rows in my ng-grid?
Documentation (scroll to "Grid options")
id | default value | definition
...
1
vote
0answers
29 views
Drawing a Line in D3 (attr d) not parsing data properly
Using
var line = d3.svg.line()
.x( function(p) { return x( p ); })
.y( function(p) { return y( p ); })
svg.selectAll("path")
.data( this.data )
...
0
votes
1answer
48 views
Can't get controller properties and bindings to work properly in Ember - pulling my hair out
Good morning,
I would appreciate any help you can provide. I'm currently pulling my hair out in frustration. I really want to get the hang of Ember but I must be missing something.
All I want to ...
1
vote
2answers
71 views
Angular value is parsed when printed, but not as a directive attribute
I have an array of addresses called addressesForUser. I also have an "address" directive with an isolate scope.
When I do this:
<div ng-repeat="add in addressesForUser" entryid="{{ add.id ...
0
votes
1answer
30 views
Data Binding in “single-page-multiple-views” web apps
There are a number of popular frameworks around to provide data binding between objects and views. This is a great idea; when the data changes, the view is updated automagically and vice versa. ...
0
votes
2answers
38 views
Angular.js variable binding
I have simple angular web application and form on it. Form contains 2 <input> and 1 <p> elements. p value is angular template:
<p>{{status()}}</p>
$scope.status = function(){
...
0
votes
0answers
13 views
Databinding plugin
My web app isn't a single page application and so I think using a javascript framework is a little overkill. However one thing I think brings great benefit is data/UI binding because it means I no ...
0
votes
4answers
149 views
Two-way data binding does not work with directives in Angular.js
I try to implement a directive, which has to update specific code block with angular-notation {{...}}. The problem is that the updated code is not compiled anymore.
The directive:
...
0
votes
1answer
166 views
Bind checkbox or multi-select dropdown to array in AngularJS?
I am new to AngularJS, and am thus confused as how to bind checkboxes or multi-select dropdowns to a separate list.
<body ng-controller="FooListCtrl">
<span ng-repeat="foolist in foos">
...
0
votes
1answer
24 views
Knockout change the click event
I'm trying to find a way to change the click event on all my elements. I want to do something like this but I think how KO binds the click event its actually attached to the element and so changing ...
0
votes
0answers
97 views
Can we bind a GridView using Javascript only?
I am stuck with an issue and its troubling me a lot. I have a gridview and i am loading replacing the cell data of gridview using javascript, the issue i am facing here is i am just replacing the ...
2
votes
2answers
48 views
Revert an invalid value in knockout without subscriptions firing
Is it possible to revert a value change to a view model with something other than a custom binding handler (maybe an extender) without the subscriptions firing?
For example, say you have a numeric ...
1
vote
1answer
74 views
Select row in HTML table to update chart selection?
How do I setup an HTML+JS table with data associated to a chart (Flotr or D3); where I can multiselect rows and that will update what is shown in the chart? - I'll likely be using AngularJS, so their ...