221 Answered Questions for the topic javascript
03/27/19
Prevent dialogs and alerts while showing a progress bar in InDesign CC JavaScript?
My script analyses a bunch of InDesign files. Any warnings about missing fonts etc are irrelevant, thus I turn off user interaction during the core work:
// preparation code
...
more
03/19/19
What is the purpose of react JS?
03/19/19
Editable HTML, CSS and Javascript within PowerPoint Presentation?
I was wondering if it was possible to have an editable HTML demo interface (like Plunkr) inside PowerPoint for doing educational presentations on HTML, JavaScript, etc.
Has anyone done this? Is it...
more
03/19/19
Which Logic Operator Takes Precedence?
So, I'm looking into writing a slightly more complex operation with logic operators in an if-else statement. I know I can do parentheses, and I know it's the better way of doing this, but I've...
more
Javascript
03/19/19
Determine if a 2D point is within a quadrilateral?
I'm working on a JS program which I need to have determine if points are within four corners in a coordinate system.
Could somebody point me in the direction of an answer?
I'm looking at what I...
more
03/19/19
What is AngularJS and Nodejs?
Javascript Logic
03/19/19
ReferenceError: Invalid left-hand side in assignment?
my code for a rock paper scissors game (called toss) is as follows:
var toss = function (one,two) {
if(one = "rock" && two = "rock") {
console.log("Tie! Try again!");
}
// more...
more
Javascript
03/19/19
What is the significance of, and reason for, wrapping the entire content of a JavaScript source file in a function block?
03/19/19
What is MVC in AngularJS?
Javascript
03/18/19
Clipping a Rectangle in JavaScript?
I'm trying to write a function that takes two possibly overlapping rectangles and returns an array of rectangles that cover the area of rectangle A, but exclude area of rectangle B. I'm having a...
more
03/18/19
Is Python front end or back end?
03/18/19
Is angular a server side language?
Javascript
03/18/19
What is difference between module.exports and export?
03/18/19
What is NPM in angular?
Javascript
03/18/19
What are the data visualization alternatives to D3.js?
Any way to toggle between two strings using one piece of JavaScript?
I want to do something like
if(something.val() == 'string1')
{
something.val('string2');
}
else if(something.val() == 'string2')
{
something.val('string1')
}
But in one line of code. I...
more
03/18/19
What is rendering in angular?
Determine if two strings are similar in Javascript?
Let's say I have two strings, is there any way to check if they are at least 90% similar?
var string1 = "theBoardmeetstoday,tomorrow51";
var string2 = "Board meets today, tomorrow";
Thanks,
Tegan
more
Javascript
03/18/19
What are exports and imports?
03/18/19
Is angular MVVM or MVC?
03/18/19
How can I use higher order functions like Array.reduce() in an Indesign script?
I've started a project where I need to use Adobe Indesign and ExtendScript to programmatically extract some data from a series of INDD files. The version of Javascript used for scripting in these...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.