All Questions
472 questions
-2
votes
1
answer
150
views
how to resolve issue "addEventListener" "click" not working in javascript,
I am trying to add "addEventListener", I was testing one of the examples but it's not working. Can anybody tell me what I am doing wrong or missing something?
<body>
<div class=&...
0
votes
1
answer
70
views
ng-model not updating when input values are populated from javascript
I have a form where there are many inputs fields type="text" and I would need some
of the inputs where its value should be populated using clickevent. So I gave a
classname for specific ...
0
votes
1
answer
303
views
Angular: Refresh DOM after manupulating code using browser console javascript
A website is written in Angular.js and they have filtering options which have all the categories checked by default with No "Clear All" filter options.
Like this website image (This is ...
1
vote
1
answer
577
views
Display nested Child Table records in Bootstrap Popup on Button Click
if we click subitems it can open one pop up window after entering values on pop up window we can close that window
after clicking of add function in the parent row the values can go to the above row ...
0
votes
2
answers
512
views
Why don't my class styles apply to dynamically created elements? Angularjs
My question is simple; why don't my class styles apply to dynamically created elements?
I am creating a search bar here where I generate an li per matching result, and append it to my ul. When I ...
4
votes
1
answer
1k
views
What is constructor.constructor()() in JavaScript?
I'm bug hunting on h1 and I've found a way to trigger an alert box using constructor.constructor() on a site using Angularjs, Nodejs and other JavaScript libraries and I am looking to truly understand ...
1
vote
1
answer
44
views
List is populated into a dropdown, by selecting an option of other dropdown, but the complete column gets that row's options in a table
After selecting an option from a dropdown of a table row I call an api to get a list of String into a dropdown field for that row but the complete column gets that row's options.I want only that row ...
0
votes
1
answer
77
views
Angular and changling dom tree with array
I have html component in angular. Template is
<tr ng-repeat="item in documentList track by $index">
<td>{{item.TYPE}}</td>
<...
2
votes
0
answers
395
views
Chrome Extension: Unable to get DOM elements after DOM is ready in Angular sites
In angularJS based websites like https://sa.corp.saint-lukes.org/secureauth11/
I need to get all the password elements present in the page using JavaScript or jQuery.
$("input[type='password']&...
0
votes
1
answer
65
views
Firing button programatically doesn't do the same action as when clicking it manually
I am developing a Chrome extension that should help my team overcome an issue in some website.
The functionality is to 'programatically' click a specific website button when keyboard 'enter' button is ...
0
votes
1
answer
227
views
How to dynamically add ng-readonly attribute
In my JS code, I want to create an input element with ng-readonly attribute. My code is as follows:
var newClientNameInputBox = document.createElement("input");
newClientNameInputBox.name = "...
0
votes
2
answers
1k
views
Angular UI-Router - wait for content to load
Using UI-Router with Angular 1.7 and I need to change the state and wait for the content to load and only then, scroll to the bottom of the page.
// Class method
onCreate() {
this.post()....
50
votes
2
answers
10k
views
How exactly is React's Virtual DOM faster?
I understand that there are two arguments for React's Virtual DOM being faster -
It updates ONLY those elements that actually need to be updated (using diff).
It batches the updates and hence we ...
0
votes
2
answers
1k
views
Is there any function in Echarts library that getSVG in angulajs?
I'm trying to getSVG of Echarts elements in angularjs , I search alot but didn’t find any useful solution.
I need some function like I used in highchart:
const chartContainerId = `#targetChart-${...
5
votes
0
answers
256
views
Having "ng-style" or "ng-attr-style" isn't generating in internet-explorer and safari but works fine in chrome [duplicate]
When i inspect the elements of my site in internet explorer and safari, the following code totally got vanished (didn't generate). but it works completely okay in chrome and firefox.
Using ng-attr-...