Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). Unless a tag for a framework/library is also included, a pure JavaScript answer is expected.
-4
votes
0answers
8 views
How to modify outputtext value before rendering it?
I need to decrease a value coming from database before rendering it inside an outputtext without pushing any button . How can i do that ? a practical example would be perfect .
thanks
0
votes
3answers
15 views
What syntax is for (var i = 0, item; item = a[i++];)
In the Re-Introduction to Javascript, the syntax
for (var i = 0, item; item = a[i++];)
is explained as the middle "item" being a conditional test for truthtiness/falsiness.
However, I had assumed ...
0
votes
0answers
6 views
ViewModel Memory Leak - Getting Rid of a Circular Dependency
I have knockout.js child view models living in an observableArray that depend on an observable in their parent view model. The parent's observable is bound to a select drop-down, and the children need ...
0
votes
0answers
12 views
Call JSON values in multiply calculate function
how i can call a JSON value of gold in a function and multiply it to obtain some prices per grams?
i already have a function that show the realtime
json function:
// segnalato dove andare a ...
0
votes
0answers
12 views
Retrieving multidimensional json array in javascript
I know there are lots of questions and answers on this topic but none that are answering my specific query - I've been searching and going around in circles for a month!
I'm getting values from may ...
0
votes
0answers
6 views
Tablesorter becomes non-functional after jquery page load
I have a page that has a variable refresh rate, and displays a couple of tables. The tablesorter.js code works fine initially, but after the first refresh its non-functional.
I've tried placing the ...
-1
votes
0answers
4 views
Three.JS Pixel Manipulation
I'm trying to make a web application which would efficiently modify the pixels of an image (feed from a webcam specifically, but I'd like to start with a basic image). I believe this can be done with ...
0
votes
0answers
3 views
Unsure how to deal with a 401 refresh issue in an app using Big Query client
I have basically made a Big Query Application based off of Google's Big Query Code Lab:
https://developers.google.com/bigquery/articles/dashboard
While my use is different the important files such as ...
-5
votes
0answers
17 views
Jquery: Show Div (animated) on Click, Only Close When Different Link Clicked + Only One DIV at a Time
I have been searching for a jquery script that I sure must be basic, but I keep coming up empty.
I am creating a portfolio type website and I need an effect similar to the one seen here when you ...
1
vote
4answers
24 views
How to make radio buttons horizontal with padding
I'm trying to figure out how to make my radio buttons align horizontally with padding or space between the buttons. I've tried searching the internet but you can't find everything on the internet so ...
1
vote
0answers
11 views
Accessing window.App functions in Javascript
The Problem
I have a pre-made js file (which I don't completely understand) that is being imported to my html page. This js file defines a function that I would like to be able to call through ...
0
votes
0answers
3 views
Taming Google Maps Elevation output w/CSS
I am able to put the map in the place that I want it, but this elevation chart is giving me a lot of grief. I have been unable to shrink it down and center it below the map.
Here is the javascript:
...
0
votes
2answers
18 views
matching un-closed font tags in the same line using regex
i know that regex is not good for parsing html, however this is only a single line string that is imputed to a function. for example, <font color = "#ff0000"> hello </font>. now for the ...
0
votes
2answers
23 views
How Get JSON value and re-use it in many function?
i've this HTML
<form>
<p><span class="caratiselect">
<select name="carati" class="wpcf7-form-control wpcf7-select">
<option value="0">Seleziona i ...
0
votes
0answers
22 views
Passing Javascript Array to Flask
I have a function in flask called array that takes in a list and prints out the items in the list:
def array(list):
string = ""
for x in list:
string+= x
return string
On the ...