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 (6) | javascript jobs

0
votes
0answers
3 views

Benefit of using Object.hasOwnProperty vs testing if Property is undefined

Since hasOwnProperty has some caveats and quirks (window / extensive use in ie8 issues / etc). I was wondering if there is any reason to even use it, and if simply testing if a property is undefined ...
0
votes
1answer
24 views

Cleanest way to query for parent class using JQuery

I'm having trouble coming up with a solution that pleases me. I'm working with some composite components, and I don't have full control over them, and now I have to set values to them using ...
0
votes
0answers
11 views

Firing javascript function between intro.js steps

I am using Intro.js for a guided tour. I would like to fire javascript functions between some of the steps but I don't manage to. An idea would be to define different intros, and fire the javascript ...
0
votes
1answer
6 views

Backbonejs get view in save success handler

I've been searching for about 2 hours for this and can't find anything so ill just ask. I'm trying out my first use of Backbonejs and I'm currently trying to do a ajax call and handle the result. I ...
-1
votes
0answers
30 views

custom function not taking place, but alert before it is

I have a custom function that is defined just like another custom function. The second custom function works, but the first custom function doesn't. The difference is that the first custom function ...
-2
votes
0answers
16 views

Add a condition in a javascript code that I didn't create

I found a javascript file to make a smooth scrolling inside my website. I didn't code it and I would like to add a condition into it. I need someone who's better than me to read it. The problem is ...
1
vote
0answers
12 views

Ajax request no response using codeigniter

can anybody help me with this simple code,i have a button in which when a user submit it will load a javascript that will invoke ajax request to just update one field in my table so i passed a ...
1
vote
0answers
4 views

Using Disqus / reCaptcha in a Meteor Application

I'm working on an application using Meteor. I am trying to use reCaptcha on one of my forms, and also the Disqus comments system on some of my pages. But the problem is, none of these are being ...
1
vote
0answers
12 views

Can HEAD requests be run from the client across domains?

that is, can I do cross-domain head requests. I know that I can not do cross domain GET requests as this breaks the same orign policy, but because HEAD requests only return Meta data, and no content, ...
1
vote
4answers
33 views

Page Redirect after X seconds wait using JavaScript

I need to redirect to specific url after 5 seconds after putting an error message. First i have used Javascript as below. document.ready(window.setTimeout(location.href = ...
0
votes
0answers
13 views

Scraping a webpage javascript component for use in an Android app?

I have already successfully scraped a plain HTML page using jsoup and used the returned data in an app. Now I'm looking at a webpage which has javascript component. I don't have a lot of experience ...
0
votes
0answers
13 views

Clearing asp.net textbox using javascript not working

I have a two textboxes in ASP.net. When one is clicked on, I want the other to clear. Here is my code for the textboxes: <asp:TextBox runat="server" ID="box1" ...
-1
votes
0answers
15 views

Imitating Window Vista, 7 & 8 Using Web Development Languages [closed]

Create Windows 7 start menu using CSS3 only Demo Windows 7 window with CSS3 and jQuery Demo Although the above links are not an exact replica of Windows Vista/7, they are not far from the ...
3
votes
4answers
54 views

How to make my script loop

I created an image slider that ends on one image, but now I'd like to take it a step further and make it loop. Here is my code in the head tag <style> #picOne, #picTwo, #picThree, #picFour, ...
0
votes
0answers
50 views

difficulties with first(); not finding the element

I've got following function trackEnded: function() { var t = $(".main article.playing").next(); if (!t.length) t = $(".main article").first(); ...

1 2 3 4 5 26205
15 30 50 per page