Tagged Questions
jQuery is a cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions.
11
votes
0answers
435 views
Consistency of Colorbox across browsers
I have installed a BigBlueButton server, and it seems to work fine in that I
can access the BBB demo and also access it from a PHP application
using the BBB API.
The problem starts when I try to open ...
6
votes
0answers
1k views
ACE editor: create a new editor dynamically
I have a layout tab based where i can add and remove tabs, when i create a new tab i want to add a new istance of ACE editor (http://ace.ajax.org/) to it (i'm using jquery ui tabs) but so doesn't ...
5
votes
0answers
567 views
Dom Css lost after jQuery Pagination Wordpress widget
I have developed a widget for Wordpress to show portfolio, the user can choose if he wants pagination, filter categories, the number of post per page...and so on, it works all perfectly with a php ...
4
votes
0answers
151 views
select2 - combining getting remote data with muliple select and pre data
Hi I am looking to use select 2 and what I have seen so far it looks good. I am trying to do one thing though.
I am looking to get my data with an ajax call to a json file - there is an example on ...
4
votes
0answers
303 views
cropping browsed image on popup
Please check http://jsfiddle.net/UmJtB/18/ below code
<script type="text/javascript">
$(document).ready( function() {
$(".uploadphoto").click(function() {
...
4
votes
0answers
239 views
Skrollr Animations choppy in IE 8 and IE 9
The animations on a page I built that uses Skrollr are very choppy when scrolling the page in IE 8 and 9. I've tested some other sites from the examples section on https://github.com/Prinzhorn/skrollr ...
4
votes
0answers
590 views
Windows Phone 8 WebView page isn't static (jQuery Mobile/PhoneGap)
Apologies for the ambiguous title; however I am attempting to port our PhoneGap application which is working fine on Android and iOS onto Windows Phone 8 (written in jQuery Mobile/JavaScript, HTML and ...
4
votes
0answers
225 views
Fullcalendar and timezones
I am using Fullcalendar 1.5.3 and JQuery 1.7.2 - in my local timezone the data is displayed perfectly but in other timezones it works intermittently I assume due to the time difference relative to the ...
3
votes
0answers
26 views
Getting url of @font_face tag in CSS using javascript
Currently I have a lot of @font_face tags in my CSS
@font-face{
font-family: Garamond;
src: url('ePrintFonts/pcl_91545.ttf');
}
@font-face{
font-family: CG Times;
...
3
votes
0answers
86 views
Vimeo embeds with Cycle2
I'm using the Cycle2 jQuery plugin for creating a slideshow, and I would like to include Vimeo embeds if possible. There is an extension for YouTube embeds made by the author but there's nothing about ...
3
votes
0answers
427 views
Problems with HTML5 Audio Volume in Safari
I've noticed the audio playback volume is not 100% in Safari, even though I have the assigned control set to "1."
Is there another to do this, or is this possibly an issue in the script?
Using ...
3
votes
0answers
757 views
How to prevent default on touch with hammer.js
I would like to prevent an anchor from clicking through if it is tapped with a touch device, but to act normally if clicked on with a mouse.
The reason being, on desktop you hover over the anchor to ...
3
votes
0answers
48 views
AspTokenInput Enable And Disable
I used AspTokenInput Which is used as AutoComplete TextBox to create Tags .
I use this Link To know How to Use it.
It's Works Fine For Me and give Result As I want.
Now I want to Make This Control ...
3
votes
0answers
589 views
JQuery stuck at CORS preflight and IIS ghost response
I'm stuck. Seriously... - solved. read on :)
Scenario: I'm trying to do the right thing here. I added CORS functionality to my REST Service (ASP.NET Web-API) relying on the Thinktecture Identitymodel ...
3
votes
0answers
202 views
How to see fixed columns on print view, using dataTables with FixedColumns and TableTools
I'm using DataTables with FixedColumns and TableTools extras among others.
When I click Print button for seeing the print preview, the fixed columns are not shown, but PDF and Excel functions prints ...
3
votes
0answers
1k views
Occasional ajax response error { readyState=0, status=0, statusText=“error”} using jquery
I have run into a problem with the AJAX response using jquery (and coldfusion serverside). Sometimes it works and sometimes it doesn't. When I test the serverside component calling it directly - it ...
3
votes
0answers
295 views
Backbone paginator not paginating my collection
define([
'underscore',
'backbone',
'models/shared_object',
'backbone_paginate'
], function(_, Backbone, Shared_Object){
"use strict";
var myCollection= Backbone.Collection.extend({
...
3
votes
0answers
835 views
Jquery mobile <fieldset data-role=“controlgroup”> make controls shrink
Why this DIVs looks different ?
First:
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<legend>City</legend>
<input type="text" ...
3
votes
0answers
268 views
How to set a real cross domain policy with spring and jquery
I'm kind of a rookie on web development and after a lot of struggling through the web, I've come to a solution.
I'm sharing it because I feel like it's not really well documented and could be used by ...
3
votes
0answers
218 views
DOM Exception 12 Using Jquery Mobile
I'm building a mobile app using jquery-mobile v1.1 and I'm running into a (caught) DOM Exception 12 error when navigating to another page within the app. The offending block starts on line 5197 in the ...
3
votes
0answers
308 views
Can't remove tabIndex from jquery tabs widget
I have a simple jquery tab widget set up. It starts off with two tabs, one being error 1, one being a plus sign. Clicking the plus sign adds error 2 tab. Clicking it again adds error 3 tab. The ...
3
votes
0answers
441 views
Meteor , using jquery sortable causes template to be unbound
I have a specific problem. I have built an application using meteor, that basically has some entities displayed in the main screen , and these entities are being handled by Jquery sortable. plugin. ...
3
votes
0answers
83 views
paste the data from web page to textarea in mobile app using phonegap?
I want to paste the content from web browser to the text area in my phonegap app.my app has a textarea ,while typing into textarea i should give an option to paste the content from web page.when i ...
3
votes
0answers
545 views
Struts 2 Ajax Validation with jsonValidationWorkflowStack and Model Driven
I'm trying to use Ajax validation in my Struts2 web app (with JQuery plugin) and i have an issue.
I had problems using the @Validations annotations so I'd just overrided the validate() method and all ...
3
votes
0answers
302 views
Remove Highligthing From Dynatree Checkbox Mode When Clicked or Hover
In dynatree with the vista-skin when you hover over a tree item it has a hover effect where it has a blue background.
Additionally when you click the item to check it it has a orange border in ...
3
votes
0answers
264 views
Struts2 Result type http header 500 does not trigger onErrorTopics in sj:autocompleter
We have a Struts2 application using Struts2-jQuery framework for Ajax operations. While using the Autocompleter (sj:autocompleter) tag in Struts2-jQuery as follows, it makes an ajax request to the ...
3
votes
0answers
415 views
Why CSS3 transition do no work more than one time
i'm trying to find out and fix why the css3 transition only works properly once and then the transition doesn't work after that, it's a different animation from jQuery. Has anyone seen it before? ...
3
votes
0answers
181 views
html_data to show prechecked jstree
I am trying to show the menu using jstree checkbox. I've followed this link http://www.mattfrear.com/2011/12/17/jstree-revisited/ but i've tweaked it to fetch data from the database to show menu ...
3
votes
0answers
415 views
Can't get the destroy() method of a jQuery UI plugin to work (+conflicting jQuery plugins)
Background/General Problem
I'm trying to fix a friend's website in which two jQuery plugins he added aren't playing nice. Basically, one (foundation - a grid layout with tabs) isn't playing nice ...
3
votes
0answers
304 views
initialize widget in Kendo grid cell?
Is there anyway to initialize a custom widget in a kendo grid cell (td)?
What I tried is
$("#container").kendoGrid({
dataSource: {
data: dataSource,
pageSize: 8,
},
...
3
votes
0answers
299 views
WCF webservice is not returning the correct status code when the response header is modified
I have a very simple WCF web service which I call on the client side using Ajax:
Here is my web service:
public string TestService() {
throw new Exception();
return "";
}
Here is what my ...
3
votes
0answers
1k views
Performance issues using images with arbor.js
I've been working on adapting arbor.js to use images. However, being a relative js noob what I have is totally un-optimised. As far as I can tell, the way I've set it up is recreating the image object ...
3
votes
0answers
495 views
Ajax File Manager based on jQuery + NodeJS
I'm thinking of using the free ElFinder, based on jQuery/PHP, for my app. However, my backend is currently running NodeJS. And I'm lacking of resource to convert the backend part of ElFinder to ...
3
votes
0answers
408 views
getResponseHeader return null in IE 8
For validation errors in Spring MVC Controller, i set the custom header error to the response Header. I can able to accesss that response Header in Firefox 3.5. But not in IE 8.
Kindly advice me, ...
3
votes
0answers
587 views
jQuery Mouse Direction Plugin
Sorry guys, it's more of an answer than a question. I've seen many people asking how to identify directional mouse movements using js/jQuery and this is a plugin I wrote for them this afternoon.
...
3
votes
0answers
2k views
PHP jQuery mobile listview links return “undefined”
I'm using the jQuery Mobile Framework for the first time. I've copied the example code from the site for a listview. According to the documentation it is supposed to do an AJAX call and then update ...
3
votes
0answers
539 views
Fading in images as they scroll into the viewport using datasrc, live and the Inview plugin.
I'm pretty close to cracking this, or cracking up, i'm not sure which yet. Maybe both.
I have a series of images loading on the page (some quite big) via an infinite scroll javascript (the only one ...
3
votes
0answers
245 views
Flot memory leak while associating two graphs using panning
we are rendering two graphs with flot, which share the same x-axis.
we plot them with:
plot1 = $.plot($("#placeholderGraph1"), p1_data, d1_options);
plot2 = $.plot($("#placeholderGraph2"), p2_data, ...
3
votes
0answers
3k views
Is it possible to get the Set-Cookie value from an HTTP response header in JavaScript?
I'm using jQuery's ajax() method to make some asynchronous server calls and want to catch the case where a call fails because the session has timed out.
From looking at the response headers in this ...
3
votes
0answers
6k views
Jquery create text input element and append to form “field focus” does not work in Firefox -problem
I have the following code (see below) which makes the field focus on the inserted text input. But this does not work in Firefox. So I cannot type any text in Firefox.
$('<input/>').attr({ type: ...
3
votes
0answers
892 views
Remote validation with AdditionalFields on collection of Models
Remote validation works fine when I've got just one instance of my model on the view.
Problem is when my view is dealing with collection of models. Here is my model :
public class TableFormTestModel
...
3
votes
0answers
2k views
jquery hover triggering on element under absolute element
Is it possible to have the jQuery hover event (or mouseenter or mouseover events) trigger on an element that is positioned under a fixed or absolutely positioned div that covers the triggering ...
2
votes
0answers
25 views
Serialization of the full page DOM. Can I get at the JS code that is loaded up, or must I AJAX it separately?
I have a bug I'm trying to track down, and it is very difficult to do so because of the complexity of the web app. There are many frames, and many instances of Javascript code that is embedded into ...
2
votes
0answers
30 views
Google Maps autocomplete always select first item
I'm using Google Maps Places V3 autocomplete. I would like to have a functionality where if a user starts typing into the searchfield, the first item from the autocomplete drop down is automatically ...
2
votes
0answers
43 views
Jquery :wrap: placing div side by side
I am plotting a graph with large axis ticks like " United States of ameriaca " .
the issue comes when multiple long ticks start overlapping ,so I wrote a code to implement marquee so that upon mouse ...
2
votes
0answers
54 views
+100
Hammer to fake zoom not working
I have a little "pdf"-viewer to use in the iPad. Since I found that rendering PDF in HTML is painfully slow, I tried to go with a PNG solution. Since it's a webapp and everything is pixel -perfect, ...
2
votes
0answers
33 views
Why HttpContext values are lost during AJAX call after Adding masterpage
It's been several days since I am trying to resolve this issue.
I have a page that is a mail inbox in the website. You can send messages to your friends from the list like on facebook.
It has AJAX ...
2
votes
0answers
56 views
Handle rowspan when tr show/hide
If there is a table with some rowspan in it, I would like to:
Whenever a tr is hidden, the table will rearrange itself correctly
Whenever a tr is shown again, it will be restored to original state
...
2
votes
0answers
24 views
How can I set the offset dynamically/by argument using tooltipsy?
I am using tooltipsy to show tooltips on my site. It works great so far but I just want to be able to indicate the offset from the link in a similar way I get the url.
in my javascript i have this ...
2
votes
0answers
18 views
How to update Newly created or dragged event in Jquery weekcalendar plugin
I am using Jquery weekcalendar plugin .
When new event created , i store it in my database using ajax call .SO obviously it seen on UI
But problem arise when we render calendar to next or previous ...