jquery

jQueryUI selectable: can't apply theme to selected item ("ui-selected" class)

I am developing an application using jQueryUI. I am also using the Themeroller. I want to have as many of my styles as possible defined using the theme, so that if I need to change some styles, I simply have to create a new custom theme (or download an existing theme). I am trying to use the "selectable" interaction in jQueryUI. It is w...

how to fire mouseleave when the mouse leaves 2 divs using jquery

Hello i have 2 divs next to each other i want mouseleave to fire when the mouse leaves the 2 divs not when it leaves one of them. how can i do that using jquery? Cheers ...

JQuery Access Elements in Modified DOM

Hi there, im trying since a long term to use events on elements in my dom which has been added asynchronus. I´ve read something about bind but is there a different Way to etablish something like this? For Example I have this situation. $.getJQUERY(myUrl, {var:value}, function(i, data){ $.each(data.values, function(value){ $("b...

Get the row changed in repeater

Hey, I've got a repeater which is placed inside an updatepanel. When the user enters a new value, the repeater is updated without a postback. Is it possible to get the row that was updated in JQuery so that I can place an effect on it to make the change less subtle? For example, I'd like to fade a new color in on just the row that was...

Is there a JQuery plugin that can give you a tooltip underneath your mouse?

Just a simple jquery tooltip when you rollover a div. ...

Any way to identify a redirect when using jQuery's $.ajax() or $.getScript() methods?

Within my company's online application, we've set up a JSONP-based API that returns some data that is used by a bookmarklet I'm developing. Here is a quick test page I set up that hits the API URL using jQuery's $.ajax() method: http://troy.onespot.com/static/3915/index.html If you look at the requests using Firebug's "Net" tab (or the...

Simplemodal: four times on a page leads to extra "next" or "previous" button [solved]

NOTE: This has been edited from the original question with a solution. The original question was too long and had many errors in its thinking. For this I apologize. We experienced a problem when each instance of the call to the simplemodal div class .basic-modal-content added an extra next or previous button in the modal windows at the ...

Appending a child in Cake

I'm using cake & have a web form for entering URLs to go into my db. There will be one input space (url1) and below that a link that says "add another URL" which, when clicked, generates a new form (url2) and reuses the "add another URL". So it would be like: echo $form->input('name'); echo $form->input('id'); echo $form->input('url1'...

Rotating images + content - jQuery or MooTools?

I've found a feature on two different websites that I'd like to include on one of my web projects, but I can't figure out how they're doing it. I think they're using either jQuery or mootools, but I'm not sure. http://www.x-plane.com/index_desktop.html I'm new here so I don't have the reputation to post the other link, but if you do ...

How do I use JQuery to do this? (Loop through the classes)

Suppose my code is like this: <td class="apple"> <div class="worm"> text1 </div> </td> <td class="apple"> <div class="worm"> text2 </div> </td> <td class="apple"> <div class="worm"> text3 </div> </td> How can I loop through everything with "td class apple", and then grab the text of the div inside with id "worm", and then set each o...

Return automatic download JQuery Ajax Call

I use the Ajax JQuery command to call a PHP script that generates a CSV file and returns a link to that file for the user to download. I would like to make this more user friendly by automatically starting the download so the user sees the browsers "Save or Open" window instead of having to click the download link. I'm guessing I nee...

did you know some good jquery popup dialog plugins ..

did you know some good jquery popup dialog plugins .. thanks ...

How to get around the event bubble using jQuery's: .live()

Hi there. Here is the code in question: $(".navItems>ul>li").live('click', function() { var selectorID = $(this).attr('id'); $(".infoList").slideUp('fast', function(){ switchTabInfo(selectorID); }); function switchTabInfo(selectorID){ var actionID = selectorID.substring(4); actionID = "#" + actionID; $(actionID)...

Why does the JavaScript need to start with ";" ?

I have recently noticed that a lot of JavaScript files on the web starts with ; immediately following the comment section. For example, this jQuery plugin's code starts with /** * jQuery.ScrollTo * Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * Da...

superfish to use jquery ui theme framework?

Hello everyone, was wondering if there is a way to make superfish using jquery ui theme framework, if that isn't possible right now, what practice can be applied to make superfish using jqueryui styles. Thanks for your valuable input. Michael ...

How do you know if an object is JSON in javascript?

How do I know if a variable is JSON or if it is something else? Is there a JQuery function or something I can use to figure this out? ...

Posting from JQuery to WCF Service

Hello, I have a WCF Service (called "myservice.svc") that takes a message from a user and saves it to the database. It returns a response to the user in the form of a number. This operation looks like this: [OperationContract] [WebGet] public string SubmitMessage(string message) { try { // SAVE TO DATABASE return "1"; } ...

how to set my div element to the center of the screen using jquery ..

so how do set the left and top..(even when i scroll the scrollBar) thanks ...

Pass array to client side for display

Hey, I have an array which contains around 50-200 hyperlinks. How can I pass this array to the client-side so that I can iterate through the array and display each hyperlinks as a list item? The array will be stored in 'Application' as it's system wide and rarely changes. Could there be a more efficient way of achieving the hyperlinks a...

is there any way to have text under each increment of the jquery slider

looking at this example of the jquery ui slider http://jqueryui.com/demos/slider/#steps i want to be able to show the values of the increments under each "increment point". so in this example it would show 0, 50, 100, etc . . . is this possible or do i have to align text underneath and hope it lines up ...