jquery

getJSON update not updating

Hi guys, On this site: http://www.rent-turkey-property.com/ I have it set so that when you select a region from the dropdown (left box) it pulls in the towns for the town menu using jQuery.getJson My code worked when it was in the head of each page but seems to have broken when moved into an external file (or maybe another change brok...

CSS not applying to jquery ajax content

I have a page that has a jquery AJAX function $(document).ready(function() { var options = { target: '#return', beforeSend: function() { $('#processing').show(); }, complete: function() { $('#processing').hide(); $("#SymbolSearchRes...

jquery 2 iframes back button problem

Hi i have the following problem. I have in a page two iframes. The "gmap" iframe and the "bframe" iframe. I have created a back button and i want it to control only the bframe. Assume i have visited some links in the bframe and a link at the gmap iframe and i hit the back button. Then the gmap frame loads the previws link and not the bfr...

Tooltip as toolbar: jQuery, CSS, or...?

I'd like to use a tooltip as a toolbar and would like some suggestions on the best way to do so. Here are my requirements: Implemented in CSS or jQuery (or both) Tooltip shows after a second or two of hovering Tooltip has buttons for further UI On mouseout, tooltip remains visible for a second The tooltip remains visible on mouseover ...

can jquery datepicker pass H:m:s

hello i have a field in mysql that is datetime format. if i use datepicker to select a date it dosen't pass the time. is there a way to use a format for example: dd/mm/yy H:m:s i have included the code i am using and would be grateful for any help. many thanks <SCRIPT type=text/javascript> $(function() { $("#datepicker")....

Resize,Clone,Drag/Drop and rotate image using Jquery & Javascript

HI All, I want to achieve the Resize,Clone,Drag/Drop and rotate functionality on an image seleted by the user.I am able to do all these in separate function ,but couldn't incorporate in single function. Since the images are dynamically created,i need a single function. For example If i join Drag,Drop,Clone with rezizable it's not workin...

'Web' based push notifications for internal-only application

I'm already tossing around a solution but as I haven't done something like this before I wanted to check what SO thought before implementation. Basically I need to modify an existing web based application that has approximately 20 users to add push notifications. It is important that the users get the notifications at the same time (PC...

Can I access a name of last used traversing operation in a chain?

I was wondering if it's possible to get to the name of the method that created a current array of elements. I tried to find it in the jquery object itself, but I don't see a place where it could be stored. Try to fill this in $.fn.myfunc=function(){ //your brilliant idea here return functname; } $('body').find('.a').myfunc(); //retur...

jQuery Navigation not working in IE7

Hello, I have the following code in a project for the main navigation. It is essentially a css-sprite that is overlayed once the user hovers over the menu. This is working perfectly in every browser except IE7 (ie6 not tested). I have tried debugging my css and feel this is coming from jQuery / JS code specifically. Is there some jQ...

jQuery object literal vs jQuery plugin notation

I enjoy writing most of my functionality using object literal notation and wondered what other people thought of it in comparison to jQuery.fn plugin notation? The issue I find with writing code as a jquery 'plugin' is that you then don't get a public 'API' to work with. Take this crude popup box example: $.fn.popup = function() { /...

AJAX Radio Buttons with jQuery

I need help to get submission of an RSVP with radio buttons like this: Attending: <input type="radio" /> Maybe Attending: <input type="radio" /> Not Attending: <input type="radio" /> Whenever someone RSVP the event, it should ratio the input to the selected (so just one radio button can only be selected), so when one option is selecte...

Need help with keeping a nested div visible when the browser window is less than 800 pixels tall

I have two divs: an outer div that is always 800 pixels high, and an inner div that’s 150 pixels high. The inner div is positioned 60 pixels from the bottom of the outer div. The outer div is also vertically centered within the browser window. <div id='outer'> <div id='inner'> some stuff </div> <div> <styles> #outer { pos...

JQuery sortable, dragging between two lists, cancelling the drop: How to animate?

I have two HTML lists, and am using JQuery sortable to drag between them. This works perfectly. The receive event is raised upon dropping a dragged list item into the second list. In this event handler, in some circumstances I am calling $(ui.sender).sortable('cancel'); which cancels the drop and returns the list item to its orig...

jquery post and append data inside clicked div?

Hi all, I'm trying to write up a function which will post data (and append the results inside a div) when you click on the div. I've got it so it will alert the data, but for some reason I can't get it to append the data back inside the clicked div? The clickable div: <div class="qaContainer"> <h2>testing title</h2> <input type="h...

Multiple file uploader with jQuery in ASP.NET

Hi, I am looking for a multiple file uploader by which I can select(CTRL+mouse click in File browse window) and upload multiple files without postback. I don't want to use any flash component(like SWF uploader) for it. I came to know that with normal Ajax request we can't upload files and we have to fake it through an iframe. Could you ...

jQuery Validation Plugin: Element with Error has same CSS attributes as my Wrapper Target

Let's say I have a page using the Validation Plugin more or less as follows: <script type="text/javascript"> $(document).ready(function(){ $("#addGigForm").validate( { messages: { url: { graphicURL: "Please enter a valid web address and file name in Gig Grap...

on change event using jQuery

Hi Folks, First of all I apologize, I am posting tons of questions will silly problems. This is very much the first time I am going to use JQuery heavily. So now my problem is, I have a text field, which gets input from a usb device (works as a keyboard wedge), as soon as this INPUT field is populated I want to make an AJAX cal...

How can I pass a custom message from one page to another using jquery?

I'm working on building a gift catalog for my organization, and need to show an update on screen if someone has added an item to their cart. When someone is browsing the catalog, they start on PAGE A, then choose an item and go to PAGE B to choose quantity, and add to cart. When they add to the cart, a jquery event .click() sends the us...

jQuery offset().top is browser incompatible?

I am trying to position an element right under some other element, but I've ran in an issue where offset() returns different values for IE and other browsers, when the page is scrolled down. IE returns position relative to the top of the visible area (i.e. declining when you scroll down), and Firefox and Chrome always return the same va...

Is it possible to track JSONP calls to my site, via Google Analytics?

Since it's a lightweight JSONP callback to my site, I don't think there is a way to get standard Google Analytics tracking, unless I'm mistaken? Otherwise I'll have to track on my own, inside my action (asp.net MVC 2 site), correct? What sort of tracking would you do here? ...