jquery

Adding controls to full width jQuery Carousel

I've been collaborating with a coworker to develop a full width jQuery content carousel with some success - so far, we've managed to get the panels to display and animate as intended. However if there are more than 2 panels, the navigation controls aren't shown, and so panels from the third onwards won't appear. If anyone has a solution...

jQuery : How to create a jQuery hover function?

I want to create two functions what fades in and out an element. This is what I have done so far, but the problem with this is that if you move the mouse while you are in the hovered element it starts vibrating :| How should I make it to not vibrate and work correctly? <script language="javascript" type="text/javascript"> function hov...

JQuery checkbox loop

Given a form (id = "my_form"), how do I loop over all checkboxes of the form, checking if the given one is checked or not and grabbing its name/value? I know how to check a checkbox status given its value, but I need to loop without knowing in advance which checkboxes exist. Thanks. ...

can't make jquery SWFUpload post data

hello, i'm using django and i've the following template for uploading files using SWFUpload the sxf object show, the download prosses seam to be working but wen the progress bar reatch 100% nothing append next, there is no post data receved by the sever. did someone know where i'm wrong? debug: SWF DEBUG: Event: uploadError : IO Error ...

JQuery not returning value

Hi people, I'm using Valum's AJAX file uploader. I am trying to send a parameter with the GET request made by the jQuery plugin. This code used to work a few hours ago. But it isn't now! Can't see any error in Firebug either. Help! $(document).ready(function(){ $("#newProject").colorbox({width:"38%",inline:true, href:"#project-n...

Help with removing element from list using jquery

I have a list: <ul id="links_list" class="links_list"> <li id="296" class="sidebar_link">text <a onclick="deleteLink(296)" href="javascript:void(0);">Delete Link</a> </li> <li id="297" class="sidebar_link">text2 <a onclick="deleteLink(297)" href="javascript:void(0);">Delete Link</a> </li> ... etc for a long list of items ...

Continually update and replace image with jQuery

I have an image that will update many times a second. I want to be able to display the updates as fast as I can. I have a bit of code already but it flickers and isn't very good. Plus it is limited to updating only twice a second. I want to be able to display faster than that if possible. Essentially I am creating a crude video usin...

How to reload JSON with AJAX every 10 Seconds

I'm trying to reload a JSON file every 10 seconds with JQUERY. The page is here: http://moemonty.com/chirp/chirp.html The Code is here: <html> <head> <title>the title</title> <!-- included Jquery Library --> <script type="text/javascript" src="./js/jquery-1.4.2.js"></script> <!-- jquery library --> </head> <body> <script> ...

jQuery: Convert TextArea content to html string and vice versa

Hello everyone, what I'm trying to do is converting a TextArea content into a valid html code. Suppose you type inside the TextArea and then you press a button that shows the typed text inside a element. If you typed something like inside the TextArea: Hi folks! Do you like jQuery? I do! The resulting string you have to put ins...

where do start with jquery - tutorials

Possible Duplicate: Where can I find a tutorial to get started learning jQuery? I am a seasoned java dev and will be moved on to a project using jquery. I have a week of freeish time in between I was wondering can someone recomend a decent resource to get me started. I'm interested in something that doesnt spend the first 10 c...

How do I get one jquery datepicker input to integrate with value of another?

I have a form with 3 input fields that use jQuery's DatePicker plugin. The fields are #startdate, #enddate, and #raindate. I am using DatePicker's event function to get the #startdate and #enddate to work together so the #enddate cannot be before the #startdate. Both those fields are required, by the way. The #raindate field is not re...

Activating second tab in page load using jquery

Hi, how can i activate the second tab of my web page in page load , i have done the tabs using jquery and ul. below is the codes <div class="tabcontainer"> <ul class="tabs"> <li><a href="#tab1">Saved Recipes</a></li> <li><a href="#tab2">Groups</a></li> <li><a href="#tab3">Friends</a></li> <li><a href="#tab4">My Reci...

Using .toggle() jquery

Hello, I have this jquery code, and want to toggle it. When I use $('#checkb').toggle(function() }); It does not toggle $('#checkb').bind('click',function() { var PackagePrice = $('#specs_packageprice').text(); var Quantity = $('#specs_quantity').text(); var ItemPrice = $('#specs_itempr').text(); var Unit = $('#specs...

How to periodically poll for data, but stop the Firefox page loading indication?

I need to have my web page periodically poll the server for new information every 10 seconds. I have a timer (setTimeout) setup to call my AJAX function to get the data. On completion, the AJAX function sets the timer for another 10 seconds. The problem is that Firefox continuously displays the "Page Loading Indicator" (Throbbing). H...

Silverlight - HTML Markup and Javascript inside the application

Hello all Can I have HTML markup and javascript code existing inside a Silverlight application? For example can I have a JQuery accordion inside Silverlight? ...

jquery: populating a select list from an autocomplete?

The basic problem: selecting a few items from a list of thousands. The potential solution: I have an autocomplete field that searches the db, and returns a name/id pair. This is working fine. The next step is to preserve the selected IDs, and allow the user to remove some if needed. For this, I've been looking at using a select...

Using ajaxStop callback to set doument.location

I have a number of jquery asynchronous calls being called in a loop. At the end of the last call, I want the page to refresh to show the results after the call. What I have isn't working. I would appreciate some help on either why its not working or a better solution! Thanks. var ajaxCount = 0; $(document).ready(function () { $(...

jQuery Fancybox options being ignored

Hi, on the site I'm working on I have a fancybox that triggers when the page loads that displays the contents of a hidden <div>, but for some reason any options such as height, width etc are getting ignored. I need to be able to use the 'callbackOnShow:' option as I need to have some click() functions within the fancybox. My code is as ...

JavaScript messy code in large projects with jquery etc?

Calling the javascript gurus out there. Basically my question is regarding how you structure your code, both visually and for functionality for example do you wrap everything in objects using this structure: var myapp={ binds:function(){ //put some event listeners for jquery etc... }, otherfunc:function(){ //do some other t...

jQuery child selector?

I have a collection of div's which I need to remember and loop through, easy. var myCollection = $('div.myClass'); $.each(myCollection, function(myDiv){...}); Now I want to select some span tags in each of those div's but only those that are direct children of the div. This kinda works... $.each(myCollection, function(myDiv){ $('...