0
votes
1answer
33 views

How to add up the result in for each loop?

Hi i am trying to read width of each item in topmenu element and add the width of item and assign to avariable. but when i run this code i am getting NaN in alert what is the problem in this code: ...
1
vote
0answers
27 views

Remove Clicked Element and then apply css?

I have placed a div on top of image. On click event of div I am removing the div and then applying CSS to the image, but CSS is not getting applied .. below is the code $('#one').live('click', ...
0
votes
0answers
7 views

Why my google map doesn't work inside a dynamically created div?

I created the map div in javascript dynamically and then tried to add the google maps in it. But i get only a grey background, my map and markers does not appear. Source code here: var ...
0
votes
0answers
6 views

CatmullRomspline not giving any output

I tried using the following code in cesium sandcastle to create a spline from Philadelphia to Los Angeles. //catmulrom spline. var controlPoints = [ {point: new ...
-1
votes
4answers
37 views

Jquery: Append HTML to a variable containing HTML

I have a var containing a bunch of HTML. I want to append a link to it before appending the var to a wrapper div,eg: var content = '~html generated from JSON~' $content.append.("<a ...
3
votes
1answer
28 views

Mousehold event in Jquery

Basically, I have this image with left and right arrow button. This image, by default is the first frame I have extracted from some gif, the original gif contains 31 frames. My goal is when the users ...
0
votes
0answers
18 views

Node.js loops and JSON building

Respected ppl .... This is my node.js code ... https://gist.github.com/SkyKOG/99d47dbe5a2cec97426b Im trying to parse the data of our exam results ...example ... ...
0
votes
4answers
30 views

Refresh a page automatically from the Browser console

Good Day I have never really used the browser console before, so I don't really know what it is capable of doing - What I want to achieve is the following: How do I force/initiate an automatic ...
1
vote
0answers
45 views

Disabling Animate option for a Div

I`ve used scroller using jquery. Heres the code.. I want to disable the Y-axis div from scrolling. I have used two images which is in the div #right-button, #left-button(Which is nothing but the image ...
1
vote
2answers
36 views

Javascript error “Uncaught TypeError: Object #<HTMLInputElement> has no method 'removeNode'”

I am getting JavaScript error on Chrome like Uncaught TypeError: Object #<HTMLInputElement> has no method 'removeNode' and my code is if (document.form["act[" + actArry["'" + i + "'"][i] + ...
0
votes
1answer
41 views

How to select all childnodes when a parent node is selected in treeview ? (When the treeview is used from usercontrol)

I have a usercontrol which has only the Treeview control. <asp:TreeView ID="Tree_Index" Style="font-size: 11px; font-family: Tahoma; font-weight: bold; text-align: left;" runat="server" ...
-4
votes
2answers
37 views

How to set a value for slider if its position is 2 or 3 or 4

Is it possible to set a value for slide basing on its position. Ex: min (1 2 3 4 5 ) Max value('100' '150' '200' '400' '500') if the slider is at position 3, it should show the value ...
1
vote
3answers
27 views

The button clicked by code jquery

Is there any function of Javascript or Jquery to make a button clicked by code? I already search on the internet but didn't see the answer for this. Thanks so much!
0
votes
1answer
22 views

Problems in trying to POST json data to python flask server

I am trying to Post a json to my flask server, but the post request always fails. This is how I am doing it, any idea what is am doing wrong? jQuery.ajax({ url:'/someLink', method:'POST', ...
2
votes
1answer
53 views

Not able to read JSON file

I have following code for reading a JSON file.It is giving no error but i am getting null in the variable: var myData = null; $.ajax({ type: 'GET', async: false, url: 'myJson.json', ...

1 2 3 4 5 8373
15 30 50 per page