0
votes
0answers
18 views
Preload images in jquery/canvas “Uncaught TypeError: Type error”
I want to pre-load a directory of images into my canvas so that they are ready to be displayed when I need them.
I found this question on stackoverflow
and the accepted answer was extremely helpful.
...
2
votes
0answers
29 views
jQuery getScript issue
While it seems like lots of people seem to hav been having trouble with this on Stack Overflow, I've yet see a description of why it was going wrong (1, 2, 3)
My code (for testing purposes):
...
0
votes
0answers
8 views
imgur api key not working from javascript?
I registered an application over at imgur.com (for anonymous usage) and I got an application key. I'm using it here:
self.uploadImage = function(file) {
/* Is the file an image? */
...
0
votes
2answers
23 views
Jquery Ajax HTML - Add Loading
I have tried this code locally and I can't seem to get it to display the contents of the html file in my country_slide div. I've tried playing around with it a bit all to no avail. I can't seem to see ...
0
votes
0answers
8 views
Zooming in using D3
How would I zoom in to a certain point on an svg at a certain point and then zoom out to the whole svg. There are only two states, I don't require mouse scroll zoom or a zoom in, zoom out button.
...
0
votes
2answers
44 views
Set options in attribute of element?
When I create a jQuery UI element (button for example), I do it like this:
<button class="Button" data-options='{ "text": false, "icons": { "primary": "ui-icon-arrowthick-1-n" } }'>Move ...
0
votes
1answer
11 views
How to set DataTables default sEmptyTable value?
I am having trouble setting the value of our datatables default sEmptyTable value like so:
table.fnSettings().oLanguage.sEmptyTable = "There are no customers currently marked “In Dealership” to ...
0
votes
0answers
18 views
Display datatables table rows as cards
Is there an easy way\plugin to display a regular Datatables table in a card view. Something like this: http://demos.telerik.com/aspnet-ajax/listview/examples/overview/defaultcs.aspx
1
vote
1answer
41 views
Simplifying jQuery function [closed]
I wrote this function handle data coming in and populate the form with the respective data. I was wondering if there was a better way to simply this code:
//Handling of "regular weeks" (no ...
0
votes
1answer
12 views
JQuery UI Diaglog to populate checkbox values to parent
I have a requirement that a user should select the checkbox values from a pop-up and click on submit on pop-up and the selected values should get displayed back to the parent page.
I was playing with ...
0
votes
2answers
45 views
How to jquery .focus() element if user types anythign
I've nested ul activated by hover on parent li.
All works except that I've a search form in fly-out menu, I'd like this input field to be focused if user types anything.
I cannot seem to ge this ...
0
votes
0answers
20 views
Twitter Bootstrap Typeahead Blur Issue
I'm using the Twitter Typeahead. There is an issue when I have preloaded data in my text box and on the blur event, the text box is clearing. This is a known issue within the type ahead and it says it ...
0
votes
2answers
22 views
Adding in loading and error text with jQuery Ajax
I was wondering how easy is to to expand this code so that it shows an error if it cannot connect and whilst it is connecting it shows a loading text or loading image. It seems pretty standard ...
0
votes
3answers
43 views
How to make fade in javascript slider?
I created a slider using javascript code and I want to add some motion effects in it like fade.
Here is my code:
<script type="text/javascript">
<!--
var image1=new Image()
...
1
vote
3answers
29 views
jquery functions - multiple inputs / 1 function
I have the following 3 actions that essentially check a radio button when a label is clicked. is there a way to write these as one function as opposed to 3 individual ones?
...