All Questions
Tagged with angularjs-directive jquery
846 questions
2
votes
0
answers
455
views
Angular - find in page content, highlight and jump to location in page (like in vscode)
Need to highlight the word that is been searched and jump to the word location(Next-Previous), without add < mark > tags
like that exist here
https://github1s.com/akveo/nebular/blob/HEAD/src/app/...
1
vote
2
answers
103
views
How to add a class to a DOM element without using Jquery - Angular 6
Currently I have defined through bootstrap the following template of my component:
<div class="container">
<div class="row my-4">
<div class="col-md-12 d-...
0
votes
1
answer
715
views
Create copy of element on drag and drop using the Angularjs
I am trying to achieve the drag and drop feature using the Angularjs. I need to create a copy of the element every time when the draggable element is dragged and dropped on to the droppable element. ...
0
votes
1
answer
64
views
How to replace http for https before DOM Construct on load KMZ file with ArcGIS API JS
I have an application and it is loaded with https, this application loads a map with a KMZ file, and the content of that file has external reference to a PNG image that is loaded with http. This ...
1
vote
3
answers
254
views
How to edit textarea value using another textarea?
I have one Textarea box having its value "some initial content"
I want to edit its value using another Textarea box
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
...
1
vote
1
answer
496
views
Add style for striped table including hover function
I have a table with striped style:
<div class="container" ng-app="sortApp" ng-controller="mainController">
<table class="profile-table">
<thead>
<tr>
<...
1
vote
1
answer
3k
views
Cannot read property 'query' of null with select2
I have a select2 dropdown where I disable certain selections in the dropdown based on what was selected. So, in the select and unselect events I take the data that populates the dropdown, set the ...
-1
votes
1
answer
93
views
Initiate jQuery function by using AngularJS custom directive
Here is my code I want to recall $('.ams-items').slimScroll() function
angular.element(document).ready(function () {
$('.ams-items').slimScroll({
alwaysVisible: true
});
});
Please help me!
0
votes
1
answer
172
views
AngularJS directive compile after loading dynamic content with $.get
I want to dynamically load content into an angular app.
Content will be created from html templates and data getting through php loaded async with the $.get function from jQuery.
var app = angular....
-1
votes
1
answer
49
views
Ui select select box array in scope model value not displaying properly
Sorry for my English.
I'm using UI-Select select box to view the data, but i'm printing the data using ng-model value is throwing undefined. Im using basic array.
0
votes
0
answers
81
views
ng-model does not accept the value entered through the jquery time picker ;
I created a time-type input box, whose value is supposed to enter the variable in the scope ( with ng-model),The time selection is by a drop-down with hours,it created by the jquery time picker plugin....
2
votes
0
answers
64
views
Unable to execute component's function inside scroll event listener Angular 4
I trying to execute a function inside a scroll listener. Following is my scroll listener code
@HostListener("window:scroll", [])
onWindowScroll() {
this.updatePageNumber();
}
and following ...
-1
votes
1
answer
1k
views
Uncaught TypeError: Cannot read property XXX of undefined
When i try to serve my application, after serving getting errors in the console like below, It's completely depends on angular-animate. How to fix this issue in angular..?
Can someone help me to fix ...
0
votes
3
answers
75
views
In angularjs directive I want to find an id in a HTML and add class on it
I have an HTML which has id "#collapse1" where numeric values are dynamically generated. I want to find that specific id on page load and add a class on it.
My directive code is
app.directive('...
0
votes
1
answer
2k
views
Mask First 5 Characters of SSN when using angular-ui-mask
Im using angular-ui-mask to display ssn in this format 123-45-6789, but i also want to hide the first 5 characters when input box loses focus and show all digits when input box gains focus.
My HTML
&...