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.

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

0
votes
0answers
6 views

Prevent AJAX calls when users are not logged in

ExtJS version: 3.2.1 (I know it's old... I cannot change this yet) I am trying to prevent ajax calls once a user's authentication is no longer valid (either timed out or logged out) When I override ...
-1
votes
0answers
12 views

Programming terms - what's it called when you're continuously checking for the relevancy of an error message?

The title may seem vague, let me elaborate. I've made a form in javascript that when submitted validates the input fields. When either of the 2 fields are invalid they get colored red. What I want to ...
0
votes
0answers
14 views

Is it possible to Subtract “ x ”pixel from a selected div?

i got this Algorithm: var $wnd = $('.water'); $wnd.resize(function() { animeVars.rightMargin = $('.water').width(); animeVars.bottomMargin = $('.water').height(); }).resize(); and i want to ...
0
votes
0answers
4 views

Thumbnail grid with expanding preview breaks hover effect

I've been working with a Codrops tutorial: "Thumbnail Grid with Expanding Preview" and have successfully (sort of) added a hover state to the thumbnail images. The problem is, when the expanded ...
6
votes
3answers
50 views

Is String an instance of the object String()? [duplicate]

I am currently learning javascript and there is something that I don't understand. //This means that I am using a method from the String.prototype "ThisIsMyString".length So, if I use ...
0
votes
0answers
19 views

Javascript jQuery Call function from parent to .html()

on parent i replace div (id formhtml) with html (myhtml.html) using this function : $("#formhtml").html('<object data="myhtml.html" id="idform" width="100%" height="100%">'); inside ...
0
votes
0answers
4 views

Access property within module (CommonJS style)

In Appcelerator Titanium I'm creating a label which initially is set to some text. I then add a button which when clicked calls the scanController module, and that module needs to change that text. So ...
2
votes
2answers
18 views

Javascript variable scope and referencing

I'm trying to figure this javascript variable referencing issue out. Here is a fiddle to demonstrate what I'm about to explain: http://jsfiddle.net/XpVb5/1/ I have an object that I want to define ...
0
votes
0answers
3 views

Kendo UI Grid, Add columns and columns sum values

Good afternoon. I'm working with the Kendo Grid tool. I have a dataSource, contains values ​​of an object and in this object exists another one. is like two array, one inside the another one. I hope ...
1
vote
1answer
14 views

How do I view cookies in Internet Explorer 11 using Developer Tools

I'm looking for how to view the cookies set using developer tools in IE11. I see an option in network profiling to view cookies being sent back and forth but this is not really what I want, and is ...
0
votes
2answers
15 views

Why can't I set the focus to an ASP.Net TextBox control in Javascript or from code behind?

I'm trying to set the focus to a TextBox control (which is inside an UpdatePanel) in an ASP.Net application (C#). I've tried the following in the code behind: tbxName.Focus(); Page.SetFocus(tbxName); ...
0
votes
1answer
10 views

Matching non-string properties with Underscore.js's where

Is it possible in underscore to match items in a list based on a property that contains a nested object? For example, using the popular node-feedparser on an MRSS feed will generate entries similar ...
0
votes
1answer
24 views

Javascript to open a new URL in a new window

I am trying to use the "window.open" method to open a URL in a new window. This is my code and it is not working, it keeps opening the URL in the same tab. Let me know if there is anything I am ...
0
votes
0answers
8 views

Python REST decoding the results of FileReader::readAsDataURL

I am using Python / Django to process a REST request - one of the elements in the REST is the Data URI of a file to upload. It looks like everything is fine (js captures the file and builds the json ...
0
votes
3answers
23 views

Background images opacity fades out the whole element

I have a div element with background image, I'm trying to fade in and out background images with Jquery. By now the function works well but it fades out the whole div and not only the background as I ...

15 30 50 per page