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

0
votes
0answers
12 views

IE shows error: “Access is denied.” for resizeTo() function

var newHeight = $(window).height(); var newWidth = $(window).width(); if (newWidth < 633 ) { newWidth < 650 ? window.innerWidth = 650 : $(window).height(); newHeight < 400 ? ...
0
votes
1answer
10 views

How can I send checkboxes data into JSON array?

I'm new to .js and I have a problem with exporting answers form .js checkboxes form into JSON array. My HTML: <form> <input type="checkbox" name="Question1" id="Answer1" value="Answer1" ...
0
votes
0answers
11 views

What JavaScript MVC framework would you recommend for an SPA?

I am going to build a fairly large SPA. It will contain a fairly large, editable grid. My backend will be Microsoft based. Probably ASP.NET MVC WebAPI. A Visual Studio template would be nice. Unit ...
0
votes
1answer
21 views

Adding and Dragging images into a div

I'm new to jQuery, so i thought to ask here. I'm looking for a script which generates a div, where users can select images from a list which will add the image to the div and makes them draggable. So ...
0
votes
0answers
17 views

How to display a response from jQuery/ajax call in PHP

So I have the following code that someone else helped me get: function updateEpisodeSeen() { var anime_id = <? php echo $anime_id; ?> ; var anime_list_entry_id = <? php echo ...
-4
votes
1answer
16 views

Fetching the first table cell present in a form

There are multiple forms and multiple tables. I need to fetch the first cell present in one of the tables. How do I do this?
0
votes
1answer
15 views

Use php data from controller (or view) in javascript

I have a question about using data pulled from the database in javascript. In my controller I have this: $this->view->projects = $projectsarray; I send the array to my view. There I will ...
-1
votes
0answers
8 views

Feed from instagram with specific date of internal.

Get feed from instagram specific date ? i have check http://instagram.com/developer/ not found anything thanks in advance
0
votes
2answers
20 views

Cannot get values of all my checkboxes on a click event in Javascript

I have a list of checkbox as below : The code for that list is : @foreach (extranetClient.Models.Classes.FonctionContact fonction in ViewBag.Fonctions) { string coche = ...
0
votes
0answers
9 views

how to add javascript in head in cmsms

I want to add a small redirect javascript on the home page of my website. I am using CMS made simple platform. Ho do I edit HEAD tag in CMSMS. I need to put this javascript in HEAD tag. How do I do ...
0
votes
1answer
30 views

REGEX: Finding the correct occurrence order of some given special characters in a string

I want a regular expression that would be able to find the correct occurrence order of * | . | # | 'any HTML element type' like 'p' or 'div' LIKE var regex = //Some regular expression; var ...
0
votes
4answers
19 views

JQuery script for one checkbox selection from group not working while adding a checkbox dynamically

i'm using the below jquery script to disable user from selecting more than 1 check box of same name at a time $("input:checkbox").click(function () { if ($(this).is(":checked")) { var ...
0
votes
0answers
7 views

Can't get full url when setting local PAC file

I'm writing a .pac file for browser. I want browser to check if the url that i enter matches the rules. function FindProxyForURL(url, host) { if (shExpMatch(url, ...
3
votes
5answers
31 views

If I use object.getElementsByTagName(tagName) in a for statement

If I use object.getElementsByTagName(tagName) in a for statement, for (index = 0; index < object.getElementsByTagName(tagName).length; index++) { ...
-1
votes
1answer
28 views

Alert on unload

i need to close windows show the alert box but in my code every time will ask automatic alert box using onbeforeunload function. <script type="text/javascript"> ...

1 2 3 4 5 27996
15 30 50 per page