Skip to main content

All Questions

Tagged with
-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=&...
Marty's user avatar
  • 322
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 ...
Manohar's user avatar
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 ...
Sarthak Kuchhal's user avatar
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 ...
Isoftmaster's user avatar
  • 3,545
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 ...
StevenBoyce's user avatar
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 ...
Alvaro's user avatar
  • 115
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 ...
Ruchaa Nandgirikar's user avatar
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> <...
Alexey  Kolchin's user avatar
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']&...
Yash Jain's user avatar
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 ...
Liran Revivo's user avatar
  • 1,143
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 = "...
megamonium's user avatar
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()....
Eli Nathan's user avatar
  • 1,141
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 ...
chetan's user avatar
  • 1,093
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-${...
Amal 's user avatar
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-...
Sourav's user avatar
  • 402

15 30 50 per page
1
2 3 4 5
32