JavaScript is a dynamically-typed language commonly used for client-side scripting, but (despite the name) is NOT related to Java. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). A pure JavaScript answer is usually expected, except if a tag ...

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

0
votes
2answers
14 views

getting textbox value using jquery

I have textbox with generated html <input id="datePicker" class="date hasDatepicker" type="text" value="" name="date"> $(document).ready(function () { var data = ...
0
votes
0answers
3 views

IIS 7.5 unable to serve javascript

I have a javascript loaded onto a server at http://a.server.com/js/script.js. When I tried to load the javascript from another location, it is unable to get a response header from the server. ...
-1
votes
0answers
6 views

Rotator animation stops working after reload

I'm working on a product rotator and I got most of the stuff working except for 1 little detail. If you go to the link below you can see a demo of what I'm making http://exo-l.com/scrap/demo.html ...
0
votes
0answers
10 views

How to check code has really tapped the button IOS automation

I am working on IOS automation. In my app, I am tapping on a button which does nothing after tapping. How can I check whether my code has really tapped that button? Before tapping I am validating ...
0
votes
0answers
12 views

CSS and JS-files repeating themselves

I have a major problem with my current build. My css and js-files are repeating themselves. Its only one GET from the webserver but the webserver is serving files that are exactly twice as big in size ...
0
votes
0answers
5 views

Filters being ignored in jquery-datatables-rails

I have used jquery-datatables-rails to present some information for my index and have added in filters following this. However the datatable appears to be ignoring the filters and they are not shown ...
0
votes
1answer
28 views

Javascript complete type list clarification?

This blog (Dmitry Baranovskiy) says that there are only 6 types in Javascript: Object, Number, String, Boolean, Null, and Undefined. Each can easily be checked via (for example): ...
1
vote
0answers
8 views

Access the compiled template in a directive

If I do elm.html() in the link function then I get the uncompiled template with {{curly_brackets}}. How do I get access to the compiled html where the {{template_variables}} have been replaced by the ...
0
votes
2answers
35 views

Javascript : Assign a function and pass parameter at the same same time

I have html buttons "classA","classB" and "classC" to which I assign the onclick handler function as follows.. var classA = document.getElementById('classA'); classA.onclick = filterByClassA; var ...
0
votes
1answer
20 views

How do I stop onResize function executing its contents while resizing

I want the content of jQuery.fn.resize to only execute after i let go of the mouse button not while i am resizing the window. I have tried putting onmousedown inside on resize but it didn't work. ...
0
votes
0answers
14 views

setting a group of image in javascript

I have a code in javascript like this this.$projectdescrip.html(datos[0].resumen); this.$locationdescrip.html(datos[0].municipio); this.$yeardescrip.html(datos[0].year); ...
3
votes
1answer
13 views

What happens when you reference a DOM object (var o=docume…) and that DOM object is removed via parent.innerHTML=''?

Hopefully the title of the question is clear, but: What happens when the following happens: <div id="parent"> <img src="..." id="myImage"/> </div> <script> var ...
0
votes
1answer
33 views

Script in my browser is different from file I have in my code editor. Why?

I'm trying to shake my login form on the basis of a variable, which is empty if the login credentials are correct. This variable is msg. Now if you see this jsfiddle example (test by clicking on Run, ...
0
votes
0answers
5 views

Changing url in iOS Safari to manipulate the “Home Screen” bookmark url

I am trying to add a bookmark icon to the iOS home screen. I know this needs user interaction through Safari to add it and if I want my app to generate the html used by safari it all needs to be ...
1
vote
9answers
52 views

create input type from text

I couldn't find any solution to my problem, so I post it here. I have <td class="something"><i>some text</i></td> And I want to turn this "some text" to input type text ...

1 2 3 4 5 25881
15 30 50 per page