JavaScript (not to be confused with Java) is a high-level, dynamic, multi-paradigm, weakly-typed language used for both client-side and server-side scripting. Use this tag for questions regarding ECMAScript and its various dialects/implementations (excluding ActionScript and Google-Apps-Script)....

learn more…| top users | synonyms (12)|javascript jobs

-1
votes
0answers
16 views

Escaped backslash doubled in object

I have a string with a backslash in it: const string='/\\.txt/ which return the expected result (/\.txt/) but if I put this string to an object the escapes backslash is just duplicate itself, so my ...
0
votes
0answers
12 views

How send data form one controller to another

I have a problem with data in controller.Can i send variable like 'this.channel' from one controller to another?Thanks.There is my code:This first main controller export class ...
0
votes
0answers
3 views

Webpack renaming imported modules in transpiled test files

My test files are written in javascript but external modules are imported using es6 import syntax. However, when I transpile my test files using awesome-typescript-loader, the test files contains the ...
0
votes
0answers
25 views

Cancel button should not be visible when Inner HTML is displayed

Finding really hard to hide the Cancel button, when the inner html gets displayed.How can I force the outer div to get the refresh? The last div section is not getting refreshed.HTML<div class=...
0
votes
0answers
9 views

FabricJS is not support russian letters

I have a trouble with FabricJS. When I create a russian text with follow constructor, I have no russian text only symbol '!'.What am I doing wrong?var textObject=new fabric.Text('Привет!', {...
0
votes
0answers
14 views

Alternative to YQL with pure JavaScript

I'm using YQL to scrape data from a website but now the data has grown so large that it exceeds the limit that YQL allows, so all I get returned is a null result. I'm wondering if there is any ...
0
votes
1answer
15 views

Loading the google map using ajax

I am trying to implement google maps in to my page. I couldn't able to acheive it. I am just getting an empty container.I am doing something wrong here ?<div class="container"><div ...
0
votes
0answers
12 views

Animate on Scroll Position Angular 4

I try to do few animation on my page using Angular. I found a site, here with an example. But can someone tell me: If I have few blocks on page, and I must do few animation on the leather of them. How ...
-3
votes
1answer
29 views

Matching Javascript Date() with date with Java new Date()

We have a Java new Date(); which returns the date as below:Mon Feb 19 19:51:21 IST 2018And the javascript Date() function returns the date in a format like below:Mon Feb 19 2018 20:31:37 GMT+...
0
votes
0answers
23 views

External javascript file does not load

I am trying to make a flip clock similar to https://codepen.io/blucube/pen/pgqRKr/ . The javascript is written as such that if the code runs then the page should display the current time with a flick ...
-2
votes
0answers
21 views

Python regex to javascript?

What would be an equivalent of this python regex code in javascript:funcname=self._search_regex((r'(["\'])signature\1\s*,\s*(?P<sig>[a-zA-Z0-9$]+)\(',r'\.sig\|\|(?...
0
votes
1answer
13 views

add extra variable on Img at end %E2%80%8B

http://myimage.png%E2%80%8BI have just copy paste this img url but it added some wiered data on end and image does not show . but on code it looks perfect .
0
votes
0answers
7 views

data-callback=“recaptcha_callback” not verifying

I've checked some of the other stack overflow questions but the solutions don't appear to fix my current issue?I'm trying to set up my form so that the SEND button is disabled until recaptcha can ...
0
votes
0answers
7 views

Firestore rules don't seem to work ERROR Error: Missing or insufficient permissions

I have a pretty simple query here:initializeEventFeed(): void {this.eventCollection=this.db.collection('Events', ref=> ref.orderBy('date'));this.eventCollection$=this....
0
votes
1answer
14 views

How to go to next step programatically using ng2

I'm using Ng2-archwizard, what i want is to go to the next step using component.ts i mean with javascript function:<wizard><wizard-step stepTitle="Title of step 1">Content of Step ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,