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
12 views
Execute javascript function when div value changes
I have a div <div id="Country">India</div> . I want to execute some code (say JavaScript function) whenever the div value changes. How can I listen to changes on the div value? Do i need ...
0
votes
0answers
2 views
Add explicit dependencies for jQuery (Mobile) widget/plugins
I cannot figure out an elegant solution for the following problem.
I've created a small jQuery Mobile widget that enriches an input field with stuff related to amounts and currencies. To not reinvent ...
0
votes
0answers
3 views
Page with multiple dropdown filters
I have a page which uses dropdowns to filter a listing. I have over 10 filters now and each of the change function, I am calling an AJAX request and passing corresponding variables to the PHP ...
0
votes
0answers
5 views
JavaScript location redirect stalls AJAX call on Chrome
This is an issue I'm facing only on Chrome.
Code snippets -
// Bind methods to global AJAX events
jQuery(document).bind({
ajaxStart : function() {
showWaitMessage(); // this is where it ...
1
vote
0answers
19 views
Change CSS3 Transform Value?
i have a css3 class with transform
.temp{
transform: rotate(45deg) scale(0.8,1.2) skew(60deg,-30deg);
}
then how can i get and change rotate frome .temp? only rotate,not transform.
thanks.
0
votes
0answers
5 views
How to transfer file between two browsers with WebRTC
In WebRTC, There have three main JavaScript APIs
1) MediaStream
2) RTCPeerConnection
3) RTCDataChannel.
Now, I'm try to develop, File Transfer between two browsers. Firstly, connect each browser ...
0
votes
0answers
7 views
Error with google plus
I created a website which uses google plusone and connect facebook. They don't load on chrome and I see these errors in developer tools. They work fine on firefox and IE and I have seen them working ...
0
votes
0answers
22 views
json_decode with special characters
I'm passing value from java script to php file for insertion, If i send name without special characters there is no problem with insertion.
name: sathish
location: bangalore
But i'm sending my name ...
0
votes
0answers
7 views
breeze: add item to array of complex-type
I have a breeze class in durandal-project.
the class (called "employee") includes property of complex-type (named "mainData").
"main-data" include array of complex-type named "childrenList". the ...
0
votes
0answers
8 views
Keeping A jQuery menu open with cookies
I've been playing around with some of the jQuery cookies I've found across this site and the cookie I think is working but my menu stops opening altogether.
I'm very new to jQuery so not sure where I ...
0
votes
0answers
5 views
Name of downloaded pdf displayed in
I'm displaying PDF in FancyBox and it works fine. However, when I try to save it, the default name to save is "-secured", despite I set the header
Content-disposition","attachment; ...
0
votes
1answer
6 views
Chrome Extension - Append link element before body
I have a simple JS script that appends a link element to a page's header.
var stylesheet = document.createElement("link");
stylesheet.setAttribute("rel", "stylesheet");
...
0
votes
2answers
25 views
Don't work my jQuery code after append
Don't work my jQuery code after append. how can just change js code and worked it?
I don't use from ides "#aaa or #sss", How do without use them?
DEMO: http://jsfiddle.net/sq4kx/
html:
<a ...
0
votes
0answers
2 views
Open downloaded font files in windows store winjs app
In my HTML and JavaScript based Windows 8.1 app I'm downloading custom ttf and otf font files. The files downloads over https and is stored in the appdata/local folder. Once the font is downloaded I ...
-4
votes
1answer
25 views
How to refresh element using jQuery within a given interval?
I would like to refresh a box with some code using a jquery how to do that?
E.g. I have a div with the id refreshme:
<div id="refreshme">
Some content here
</div>
How could I ...