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

1
vote
0answers
17 views

javascript game level inheritance

I'm rewriting a game I've designed in Flash/AS3.0 to javascript and am having trouble wrapping my head around prototypes, having learned classes. I've read a ton of info about it and am still not ...
0
votes
0answers
19 views

In php, find which array element is shown and provide a link to the next and the previous

i am stuck with the following problem. I am dealing with an html/php/js situation where i have some image thumbnails with a specific link class, so when they get clicked, a javascript function takes ...
0
votes
2answers
18 views

AJAX form only reloads the page

I've looked up various explanations for using ajax with forms, and have stripped the entire program down to just getting the form to talk with the php, but it's being unreasonably stubborn... The ...
0
votes
0answers
7 views

Javascript TimeZone Clock

I am trying to make a basic world clock that works as follows: -Choose a city for current time in that city -Choose a city to compare current time with city no1 When I choose city no2 it also changes ...
0
votes
0answers
18 views

how to get value from javasript to homecontroller

i have timer in my project when i stop it ,timer value should be saved to database..but i cannot able to get value of timer from javasript to homecontroller my javasript is.. <script ...
0
votes
0answers
15 views

How to create custom events using jquery validator

I am using jquery validator http://validation.bassistance.de/documentation/ and although it is working and validating the form, I have a requirement where I need to create a custom event so when a ...
0
votes
0answers
12 views

Chaining animations smoothly for several elements in jQuery

I'm trying to recreate a map's zoom-in effect by animating sequentially several stacked images using jQuery, for cross-domain purposes. I achieved something so far, by queueing the animations using ...
0
votes
0answers
4 views

Grunt task dependencies

I have a grunt task that is installed via npm taskA (not the actual name) taskA has a dependency: grunt-contrib-stylus and that is specified in taskA's package.json and installed. For some reason ...
0
votes
0answers
14 views

displaying a scraped url with accented characters

If I'm scraping the url of a website with an accented character such as é in it, what's the best way to store it in my mysql database so that when it is retrieved and displayed on screen it shows é ...
0
votes
0answers
8 views

How to sort gridview from client side without clicking on header

I have a grid-view on my web page but without headers. I need to sort grid-view from client side.Using any button or drop-down list which has column name in data-text field and column index in ...
0
votes
0answers
4 views

Google Maps API v3 corrupted interface

maybe this question have already been addressed but i don't know what terms should i use to look for.. So, the interface of the map seems corrupted because i have this result: here is the image ...
0
votes
0answers
7 views

Node.js - Write unique line

I Have got function. It returns, if one of two files contains given string. This example is supposed to write to file output.txt "same\n", because it should check if files are containing string. They ...
0
votes
1answer
14 views

How to get the perticular div of a table?

Hi I have a table as below which has 9 rows.From second row onwards the format of the row content is same. My requirement is I have to iterate through second row to last row and in each row i shoud ...
0
votes
2answers
56 views

i want to write a reusable function

i'm undergraduate student beginner in web designing. am learning jquery now and i want to know how can i write a function to reuse for others elements here is the function which is workind for 1 ...
0
votes
5answers
47 views

Need a specific regular expression

I would like to create the following regex: * [ * , * ] * where * can be any text of any size I have tried the following: /[*.,.*]/ but it is not it (if it matters I will need it for ...

1 2 3 4 5 27120
15 30 50 per page