Tagged Questions
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.
0
votes
0answers
2 views
Is it possible using Javascript to only grab the audio track of a video?
Apart from ripping it from the video of course? If not, what the bandwidth efficient methods of getting only the audio from a youtube link i.e. that does not have to process the entire video.
0
votes
0answers
12 views
how to manage javascript or front project
In our project, we want to add a new javascript project include javascript and css, it is an front size project, and there are many module js which will be merged into main js, at the same time, the ...
0
votes
0answers
3 views
Passing value from Form to Scriptlet on same page
Is it possible to pass the values from Form to scriptlet on current page?
In this code I used the jquery form submit plugin from http://malsup.github.com/jquery.form.js so that the page will not ...
0
votes
0answers
5 views
ASP.net html element onclickserver not work
i have <ul> that contains this elements :
<li><a id="testClick" href="#" runat="server" onserverclick="btnSwitch_Click">Click This</a></li>
and that works, that html ...
0
votes
0answers
5 views
Mouse Movement Binding Alternative
Problem:
This function that I have is used to bind a different cursor onto the screen in replacement of the user's normal cursor. Very simple. It works under normal circumstances.
...
0
votes
0answers
7 views
why is this html5 audio not working on chrome, but is work well on safari
i want play some voice on my web, and this is my code ,it's work on safari, but cat't work on chrome. anybody could give me a solution
$(button).click(function() {
$.ajax({
url : ...
0
votes
1answer
19 views
JavaScript - Appending br to a span
I have an HTML page with a span as shown below:
<span id="lbUsers"></span>
And I populate the span using this JavaScript method:
...
0
votes
3answers
24 views
jQuery refreshing specific div
So I have a sortable li list that has a series of pages displayed.
When I sort them, my jQuery code calls a php page that updates the order of my pages in the database.
On the same page as the list, ...
-2
votes
1answer
18 views
Why aren't my scripts (that are correctly linked) not working?
My custom JQuery file as well as Masonry Jquery are linked but not working.You can see that it links correctly in the source file: ...
0
votes
1answer
18 views
Is it Possible checkbox won't check if there a value in row from database?
Is it Possible checkbox won't check if there a value in row from database?
This is my Example Table
item_name | PR | checkbox |
ballpen | pr100 | □ |
pencil | pr111 | □ ...
0
votes
3answers
23 views
Displaying keys and values to all elements in an associative array
I have an array, clientList:
[
[
clientID: "123"
data: "data1"
]
[
clientID: "456"
data: "data2"
]
[
clientID: "789"
data: "data3"
]
]
I'm trying to iterate over ...
0
votes
2answers
25 views
javascript:onClick(); not working in firefox and IE
I have this retractable sidebar menu. A javascript onClick is acting as retracting function.
However, it seems to work perfectly fine in Chrome/Safari but not in IE and Firefox.
It will just return ...
0
votes
1answer
23 views
Javascript .length and has class difference?
I'm trying to test the difference between both by applying in the toggle button(change text color and first click and reverse on second click)
http://codepen.io/vincentccw/pen/qhyBL
this works:
...
0
votes
0answers
9 views
Can I make the left sidebar a fixed width with an off canvas menu in bootstrap 3
I'm trying to make the left side of my off canvas menu a set width while "on canvas" I've been able to set the off-canvas menu to a fixed width of 280px. Is it possible to maintain this 280px width on ...
0
votes
1answer
10 views
Add 1 to variable if scrolldown and subtract 1 to variable if scrollup
The title pretty much sums it up.
How do I add 1 to a variable if the user scrolls down, and subtract 1 to the same variable if the user scrolls up.
The variable must start with 0.
EDIT: For ...