jquery

Shape tween in javascript

Is there a way to do a shape tween in javascript? Using canvas maybe... ...

js/jquery coverflow effect

Hey, I try to archive a certain effect with js/jQuery: The Apple Mac OS X Coverflow effect which you can choose within finder. Can you point me to a gently & smooth working plugin? I love #roundabout for jquery but unfortunately they don't support that effect. I also tried some of the linked plugins of this post: http://stackoverflow.c...

POST to server, receive PDF, deliver to user w/ jQuery

I have a link that the user clicks to get a PDF. In jQuery, I create a POST ajax call to the server to get the PDF. The PDF comes to me with the correct content headers etc that would normally cause the browser to open the Reader plugin, or allow the user to save the PDF. Since I am getting the PDF w/ an ajax call, I'm not sure what t...

jQuery - polling of a job queue

I have a database table which contains a queue of jobs. A separate program processes these jobs. I want to provide a webpage for users to watch the progress of the queue. The Server side scripting to query the table and return it in a JSON format is no problem. I've done some reading on jQuery and the PeriodicalUpdater plugin. I'm wonde...

JQuery Accordion: Opened div cuts in to meet content (reference image given)

Hi all, I'll get right to it. Here's a pic of what I'm talking about in the title: JQuery Accordion Bug. Notice how the outline of the div cuts in on the right side to meet the content of what I've selected. I've blocked out the content of the div in Paint, for confidentiality reasons, but you get the idea. This happens when I already h...

jQuery UI Tabs - SlideToggle?

Hi all, The following code rotates through tabs that I've set and does a nice job of fading in and out, however, I was wondering if it could be tweaked to have the content slide in and out. $("#product_rotator").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 7000); I tried changing "toggle" to "slideToggle" but that didn't work... Th...

Edit form with default Jquery date values, jquery sets current date for field after page is loaded.

$(document).ready(function(){ $('#data_nasterii').datepicker($.datepicker.regional['ro']); // romanian language $('#data_nasterii').datepicker('option', 'changeMonth', true); // dropdown with month $('#data_nasterii').datepicker('option', 'changeYear', true); // dropdown with year $('#data_nasterii').datepicker('option', 'yearRange',...

WCF + Json = wrong serialization

Why this WCF 3.5 method [ServiceContract] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] public class Json { [OperationContract] [WebGet(ResponseFormat = WebMessageFormat.Json)] public string Upper(string text) { return text.ToUpper(); } } returns {"d":"TE...

sIFR and jQuery: dynamically replacing text

Hi, I ve a problem. I would like to update a counter (seen by the user as its displayed in a certain div) when a button is pressed. So this happens when the button is pressed: $("#photo-counter span").empty().append((start_index+1)+"-"+(end_index+1)+" / "+files.length); sIFR.replace(netto, { selector: "#photo-counter span"}); As on...

how to prevent users' interaction when waiting for ajax's response

The scenario is like: I'm using Jquery to implement some ajax features. For example: when a user click a button "get data", Jquery will call .ajax function to fetch some data from the server. This process might take some time, so I added .ajaxSend and .ajaxComplete functions to show some animation for the waiting process (actually a 'Loa...

2 jQuery plugins don't seem to work together

I have 2 plugins, amongst several others, that are loaded together. All of them work together correctly expect 2. By commenting out bits of code etc I've narrowed it down to the two plugins. These are the 2 plugins in question jQuery Tools tabs and NewsTicker I have tried calling them as follows as per their instructions $(document)...

JQuery UI Dialog without ID twice

Trying to put multiple dialogs on one page - they need to be able to come up more than once. I'm using ASP.NET so the ID's of the content to go in the dialogs are mangled. All of the examples for bringing up the dialog multiple times seem to work with getting the initialized dialog back the second time by using the contents ID. I see ...

How do I use Ajax and Jquery to pull information off a PHP database, and populate elements with that information?

Hey everyone, I am tweaking a website to make it easier for employees to edit products. Right now, someone has to login to the DB and change prices, and then someone has to change the physical html of the website itself. So I am writing code that pulls all the products off the DB, and displays them on a page which can be edited. I thi...

JQuery UI Nested Tabs - Load AJAX content into a single DIV

All, I am using JQuery UI Nested tabs. Consider the structure like this: There are 2 Main tabs: Animals, Birds. Under Animals, there are two tabs "Cats", "Dogs". Both the tabs "Cats" and "Dogs" should be loaded via AJAX when clicked.. So, the code for them is something like this: <div id="fragment-1"> <ul> <li><a href="/publ...

Limit number of dynamically added Table Rows using JQuery

I am dynamically inserting a row into a table with JQuery using clone. $('#Clone').click(function() { //put jquery this context into a var var $btn = $(this).parent(); //use .closest() to navigate from the buttno to the closest row and clone it //use clone(true) to pass events to cloned item var $clonedRow = $btn....

jquery ui dialog - button click event handlers

I'm a js noob. I'm using the jquery FullCalendar plugin which exposes an eventClick(calEvent, jsEvent, view) event which is called when you click on an event on the calendar. In my event handler I want to pop up a dialog asking if the user wants to edit just one occurrence of a recurring event or the whole event. The problem is that the ...

Jquery-Clone() append

Hi, I am facing an issue whlie trying to clone a parent div and then appending it directly under itself. My function works fine as long as the last node is selected so: <div> <div> A </div> <div> B </div> <div> C </div> </div> will result in <div> <div> A </div> <div> A.1 </div> <div> B </div> <div> C </div> </div...

jquery question... a way to automatically submit a form and move to the next step?

Basically, I have a process that is broken out into 4 forms (thus, 4 urls), but I'd like to bypass the third one completely. I can't really get to the code itself as it's from a third party provider and not open-source. What I was hoping to do was to use jquery to automatically fill out and submit the form as soon as the user gets to t...

performing jQuery show/hide on dynamically created content

I have a page I created with jQuery, and in this page is a table where the table rows have classnames that identify them as a certain color (i.e. tr class="yellowclass"). The user is able to filter rows by clicking a checkbox that will show/hide tables of a certain color. My problem is that the table is generated on the fly via getJS...

How to I use ajax and PHP to create and populate div elements?

Hello, I asked a similar question earlier here, and it got me down the right track, but I am little stumped still. However, now I know how to ask a more educated question. I have a database I connect to, with a table name of PRODUCTS. Within PRODUCTS are the columns ID, STOCK, SHORTNAME, DESCRIPTION, PRICE and SHIPPING. If the user cl...