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
11 views
A proper way to declare an JavaScript Options-Object?
i wanted to access an API which responses with some JSON. Therefore I want to configure an 'options' object, which stores all the data which are needed to access the api (url, tokens, id, etc.).
The ...
0
votes
0answers
5 views
Empty $_FILES with SWFUpload in Internet Explorer
i have a little problem with SWFUpload. It works great in Firefox and sometimes in Internet Explorer. But sometimes not, the upload.php file is called but the $_FILES array is empty. This problem ...
0
votes
0answers
7 views
Applying Hyperlink Destinations to a specific Paragraph Style in Indesign
I am very new to the world of scripting, so please bear with me.
I would like to automate a way of creating hyperlink destinations in InDesign from specified Paragraph Style.
I have found this ...
0
votes
0answers
9 views
Grunt usemin and useminPrepare multiple targets
From the usemin issues it appears that usemin and useminPrepare support multiple targets in the latest version:
useminPrepare support:
https://github.com/yeoman/grunt-usemin/pull/162
...
0
votes
0answers
10 views
Using the <Code> or <Pre> tags in Jade templates
Is there way to include line breaks in code text you want to display in a jade template.
say you are doing something like this.
html
head
body
pre var config = ...
0
votes
0answers
6 views
typeaheadjs: How to call server without using cached data
I am using typeaheadjs and fetching data using remote. When I type 'A' it fetches data starting with 'A', but next time when I delete and retype 'A' it shows data from cache. But I need to call the ...
0
votes
1answer
7 views
get xhr status from a callback function
Hello,
I have a php call that write javascript lines in my html file in this format:
<script src="http://localhost/listing.php?jsonp=thecallbak"></script>
I would like to get, in the ...
-1
votes
0answers
9 views
all things javascript/jquery :: draggable/droppable plus a trigger event
Before I delve head first into a boiling pot of sweet hot java I would like to ask for some advice.
Two boxes side by side, the left one has multiple icons in it.
I want to be able to pick them up ...
1
vote
4answers
21 views
Loading images in jQuery
So here's the problem,
I'm trying to load images using jQuery to speed up the page downloading.
To accomplish it, I have the following code as an image, which I want to load after the page loads.
...
0
votes
0answers
7 views
Sys.UI.DomElement.getBounds return value differs in 1.10.2 version in Chrome
I was retreiving the value using 'Sys.UI.DomElement.getBounds' method to process some code. But when i upgraded to latest jquery version 1.10.2 , y returns different value 503. Previously, i had 1.4.2 ...
0
votes
0answers
15 views
How to submit BackboneJs models in html form post?
I am posting a form to a url from a page that displays backbonejs models.
This is how my backbonejs model looks like in the form:
Form:
<form class="form-horizontal" action="profit" ...
0
votes
0answers
13 views
Run over and out only on a certain accept with jQuery ui droppable
$(function() {
$( "#d1o1" ).droppable({
accept: "#s1o2, #s1o1, #s1o3, #s1o4, #s1o5, #s1o6",
over: function (){
$( "#d1o1" ).droppable( "option", "d1o1Check", "1" ...
0
votes
2answers
30 views
submitting form with parameter from a link in jquery
I am trying to save data in database in background through a link, and to give download functionality to that link in front end. but it gives an error.
my script is -
<script>
...
0
votes
0answers
19 views
Parse base64 string coming fron javascript front end
My javascript frontend is sending the base64 encoded string:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM8AAADkCAIAAACwiOf9AAAAA3NCSVQICAjb4U/gAAAgAElEQVR4nO...`
I need to get just the base64 ...
0
votes
0answers
6 views
Dynamically update BxSlider when adding new images with Ajax
I am using BxSlider jQuery to display a number of images in a slider. I load the images in an unordered list and they are displayed in the slider. All good so far.
Ok so here is the issue I am trying ...