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
0answers
18 views
0
votes
0answers
9 views

jquery mobile trying to open all links in same page

here is my question I need to put a swipe effect to my 'li' to get next slide for that I have used jquery mobile. but after using that all navigation are trying open in the same page as an ajax ...
1
vote
1answer
12 views

jQuery if form field's part of value matches values in array, then

I want my email form filed to be validated by jQuery. if user typed val() matches any values in array, i want to run some function before submitting. ex. if I type abc.com is not in array. so OK. ...
0
votes
1answer
15 views

windows.opener.function gives permission denied

I am opening a pop up from the parent window by using <img onclick="window.open('/support/broker/support.reorder?target=${target}');" src="themes/default/images/reorder.gif" title="reorder" /> ...
0
votes
0answers
26 views

Methods, Objects to create currency converter in javascript

This is going to be a long one. I have an assignment I have been working on and I have been having issues. I have a ton of code and I am not quite sure how to get it to function properly if at all ...
0
votes
0answers
4 views

ruby rails how to convert javascript to respond to

I currently got code that when I click on a button, will convert an google chart svg to image and save it. Code in the chart.erb below. What I would like to do is have rails create the image as a ...
-3
votes
1answer
25 views

Regular Expression javascript for cip code

I need this regular expression for this format (##.####) I think it should be something like this /[0-9]*[.][0-9]/
1
vote
5answers
38 views

Check a string contain how many word in javascript

I would like to check how many words in a string eg. asdsd sdsds sdds 3 words The problem is , if there is more than one space between two substring , the result is not correct here is my ...
0
votes
0answers
5 views

HTML5 Video Custom Button with Messages (Play, Pause and On End)

As part of my TAFE course I have to create a html page including a video that has a custom button called 'Play' that changes to 'Pause' when paused and back to 'Play' when played. It also requires a ...
0
votes
4answers
40 views

Ajax inside a for loop executing all at once

Alright, so we have this code: var players = '<?php echo $players ?>'; for (var i = 0; i < 2; i++) { $.ajax({ type: "POST", url: "url...", data: { currentplayer: i, players: players ...
-1
votes
0answers
31 views

how can i use fileupload in while loop?

i am trying to use file upload in while loop but i can upload a file for the first record of the list, i cannot upload for other records. whenever i trying to upload for a second record or any other ...
0
votes
0answers
8 views

Prevent Validation on Focus

I am having a hard time trying to keep validation from throwing an error when I put focus on my textbox. It's because this is a Percentage textbox so for example the textbox will show a formatted ...
0
votes
0answers
12 views

Carousel plugin/code with removable/addable content

I want to implement a kind of horizontal carousel effect on a couple of images such that each image can be dragged out of the carousel or dragged back into it conversely and the carousel effect still ...
-1
votes
0answers
27 views

pie.htc VS. pie.js

I'm developing a web app. Probably, testing to other browsers is needed. And I have browser issue when it comes to IE version 6,7,8. Will I ever have a problem for both keeping pie.js and pie.htc? ...
2
votes
1answer
38 views

Test for click event using Jasmine test suite

I am using jasmine to test my application and right now no button exists in my code but i want to write a test in which i can check that whether a click event is fired or not. You can simply think ...

1 2 3 4 5 25697
15 30 50 per page