We have some really old code that calls WebServices using behaviours (webservice.htc), and we are having some strange problems... since they've been deprecated a long time ago, I want to change the call.  What's the correct way of doing it? I...
I am trying to practice behaviorsubject in angular 5. I am written a small app with two components and want to change the value in both of them at once but the value is not changing. BehaviorSubject should change the value in all the components. Plea...
i've met a strange behaviour in Firefox with this simple script:      <html>       <head>         <script type="text/javascript">             window.setTimeout(function(){                 var ifr=document.createElement(&...
I have the following code:   var coords = [      {lat: 39.57904, lng: -8.98094, type: "a"}, // A      {lat: 39.55436, lng: -8.95493, type: "b"}, // B      {lat: 39.56634, lng: -8.95836, type: "c"} // C  ];   var travelingOptio...
so what I am trying to do is make the if/else statement in the function below get checked every time the function is called. I call it using   onclick="openNav()"  in my HTML. Thank you so much for your help, sorry if this is a lame question...
In javascript if I need objects each to have an individual value of an attribute, I can just set it in the constructor, like so:  function A(x) {     this.a = x; }   If I want a certain attribute to be shared among the objects, I can set it in the pr...
Is there any explanation for this strange behavior tested on chrome, firefox, ie. when you do 8.9 * 3 you get 26.700000000000003  console.log(8.9 * 3);  any help?...
So I have a very simple code which worked yesterday. I get back on the computer this morning and it looks like it does not work anymore.  What I checked:   Whether or not my function runs onload (it does) If the path for the audio file is correct (it...
I have trying to basically slideto my contents div when a page is loaded as my contents block is quite far down the document.  Rather than use the hash tags I have been using this(function below) to slide to my content, basically any page that is not...
I try to set up a quiz with several questions. Each question will use the same input fields like this:  Who was President in 1984? 1 - Carter 2 - Clinton 3 - Reagan 4 - Call a friend!    It must be something that I do not understand. Here is what hap...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.