Linked Questions

216 votes
2 answers
218k views

I have heard that querySelector and querySelectorAll are new methods to select DOM elements. How do they compare to the older methods, getElementById and getElementsByClassName in terms of performance ...
goesToEleven's user avatar
  • 2,235
47 votes
4 answers
81k views

My site will have multiple sections, each of which I intend to be resizable. To accomplish this I've made a "resizable" directive, e.g.: <div class="workspace" resize="full" ng-style="resizeStyle(...
jayflo's user avatar
  • 1,115
1 vote
2 answers
3k views

I've got this element: <span id="tag_span"> {{ selectedSection }} </span> And I want to get its content from controller, which is {{ selectedSection }}. I can get the element like this: ...
Yuri Drobkov's user avatar
0 votes
3 answers
3k views

I am trying to build a file upload component and I am getting the error :button.click is not a function. Why is that? <form name="uploadForm"> <div layout-gt-sm="row"> ...
user avatar
5 votes
2 answers
418 views

I have a code,that shows a modal with this code using jquery: $('#myModal').modal({'show':true}); but with angular.js not works. what is the equivalent of $('#myModal') using angular.js? // not ...
yavg's user avatar
  • 3,141
2 votes
2 answers
583 views

I want to copy the value from vm.foo to vm.bar (that works) and then set focus to vm.bar (that does not work). <input type="text" ng-model="vm.foo" id="foo" > <button ng-click="vm.baa=vm.foo;...
torbenrudgaard's user avatar
1 vote
2 answers
1k views

Here my code to hide a column in kendo grid. var grid = angular.element("#priceCardGrid").data("kendoGrid"); for (var i = 0; i < priceCardModalScope.priceCard.length; i++) { if (...
Prabhagaran Palanisamy's user avatar
1 vote
3 answers
901 views

I am working on an Angular application and i have a view who is containing an iframe (The purpose of that iframe is just to display a login form). Like my attempt to submit the form manually was ...
adam's user avatar
  • 555
0 votes
2 answers
949 views

Which selector is faster in an angular 1.x application? I have Jquery included and have been using both in my application as in below: var paneWidth = angular.element('.side-nav').width(); var ...
hhsb's user avatar
  • 582
0 votes
2 answers
507 views

How to find and replace a specific text on a html page using AngularJs That text is on a third party component so the id and the class is keeping changing. What I can reference is the text itself ...
user1040091's user avatar
0 votes
1 answer
119 views

This should be a fairly simple process but I'm having the most difficult time with it. I had to find a set of elements. So I had to dig through an element that contain a child element which then ...
Victor Le's user avatar
  • 1,778