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 (6) | javascript jobs

-2
votes
0answers
8 views

RegEXP Javascript Extraction

Bb Whitehouse Accountants in A Bb Whitehouse Accountants Star OffStar OffStar OffStar OffStar Off(0 reviews) Be the first to review this item! 6 Bell St TOOWOOMBA CITY, Queensland, Australia, ...
0
votes
0answers
3 views

Avoiding vertex drag maps api v3

Very simple. I want to avoid the dragging of the first and last vertices. I've tried using dragstart event, but apparently polyline doesn't listen to that one. I've managed to do something with ...
3
votes
0answers
37 views

how can i select multiple value in dropdown at one time

my coding is: <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span> ...
0
votes
0answers
7 views

newValue always equals to oldValue in AngularJS property watching in unit test

I have an controller which is simply watching a 'name' property and prints its new and old values on any change. function Ctrl($scope) { $scope.$watch('name', function(newValue, oldValue) { ...
0
votes
2answers
34 views

html form not submitting large string to php

I want to send very large string data to php using form submit as I want to write it to file and force download it using php content desposition headers. however, php POST var is not getting complete ...
0
votes
0answers
2 views

Using jsTree with Durandal SPA, anchor href ruins navigation

I am working on a single page app using Durandal. I need to use some kind of a tree view javascript library and I came across jsTree which seems nice. However, as you know, Durandal uses hash urls to ...
0
votes
0answers
21 views

jQuery, onclick and disabled select

I have a problem trying to get an onclick event to work consistently between different browsers, when that onclick is covering a disabled <select> (using jQuery 1.9.1): <html> ...
0
votes
1answer
21 views

Insert javascript into html

How do i insert this code into a html from a external .js file? window.onload = function () { setTimeout("time_date(), 1000"); } function time_date() { ourDate = new Date(); ...
0
votes
1answer
12 views

How to define a self-defined object that includes other self-defined objects in javascript?

I want to define a object that include other self-define objects in Javascript, for example: object1 { p1 : "", p2 : "", ... } object2 { p3 : "", p4 : Array of object1, ... ...
0
votes
0answers
11 views

Cannot execute javascript code from loaded page

I created a page that show a gallery of images (imagenes.html): <!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8"> <script type="text/javascript" ...
0
votes
2answers
24 views

Javascript can't finish code

When user scroll and navmenu come to margin-top 20px , then the menu will stop and be fixed. How i can to that? navmenu is Div id of my menu. I try all ways and I can not figure out. ...
0
votes
2answers
16 views

Jquery & CSS - Overlapping divs

I'm trying to create a expnd divs when user mouse over with Jquery and CSS. My jsFiddle works great into Opera Browser but into Chrome when i hover the box "B" and return to box "A" this is overlaped ...
0
votes
0answers
14 views

Improving the response when an Ajax call add a new record

I have the following inside my asp.net mvc web application view:- @using (Ajax.BeginForm("CreateVMNetwork", "VirtualMachine", new AjaxOptions { InsertionMode = InsertionMode.InsertBefore, ...
0
votes
0answers
10 views

Scripts are not working in web browser control

I used web browser control to load google maps in my .net app. here is the code.. string keyword = "colombo"; private void Form1_Load(object sender, EventArgs e) { StringBuilder query ...
-6
votes
0answers
31 views

What if Math doesn't exist in javascript? [on hold]

Imagine Math didn't exist. Create a MyMath object that also provides some additional methods: MyMath.rand(min, max, inclusive) — generates a random number between min and max, inclusive if ...

15 30 50 per page