jquery

Removing google map markers using JQuery

Hi All, I've searched hi and low for info regarding this but to no avail. Basically I have a page that is loading a bunch of cateories as checkboxes, for example checkbox 1 is called 'Exhibitions' and when clicked on displays all the exhibitions on the map (I am passing the value of the checkbox to the JQuery function which then filter...

most efficient way to do background colour change on hover with jquery 1.4+?

I remember looking at this a year ago and there were some plugins and a jquery ui method, but it's always worth asking - what's changed? what's the most efficient/lightweight method/plugin for fading background colors on hover? ...

converting request parameters strings to JSON?

Possible Duplicate: Javascript / Jquery: $.param( ) inverse function Hi, I'm trying to do the inverse of the jquery param function, i.e. I want to convert a parameter string (e.g. "login=1&init=1") to JSON (so that it can be used with jquery). Is there an easy way to do this? ...

Using jquery, how do you work around cross-site POSTs in a similar manner to padding data for cross-site jquery GET’s?

We have published a json api to share data between a few domains. We provide a callback that allows any GETs from remote sites to be returned as padded json. GET http://mysite.com/jsonapi/object?callback=? Returns: ?({‘someKey’:’someData’}) Now all of this works fine whenever we are GET’ting data from remote sites, but the moment t...

fullCalendar not rendering new events dynamically

I have the following code in a page on which I am using fullCalendar. I am able to add events in my page, however the calendar does not display this dynamically. I have to move to another month (and then back to the current month), before the dates I added are displayed. Is there a way to dynamically refresh/render the calendar as dates...

how to replicate href="...#something" with jquery

Hi, It's hard to describe the whole problem but to make a long story short, I can't use href="...#something" but I need this functionality. Is there a way to replicate it with jquery? So I want to have something like this onclick="$('div#something').jumpThere();" but I don't know the exact name of the function. Could you please let me k...

my jquery ajax doesnt seems to work in ie6

Hi I am using jquery ajax in my project thats working good in my firefox But it doesnt seem to work in IE6 How to make the jquery Ajax work in Ie6 This is my code function Load_State(inp) { $.ajax({ type: "GET", url: "<?=base_url()?>/system/application/views/ssitAjax.php", data: "selCurCountry="+inp, success: function...

Add change() function to all but last element of a class.

Hi, I am using jquery's change() to perform actions when SELECTs of a certain class are changed, however I do not want the last drop down in the DOM of this class to perform the action. I have tried $("select.prodOption").change(function(){ if($(this) !== $("select.prodOption").filter(':last')){ //do stuff ...

jquery ui: draggable -> if drag unbind hover event??

hi guys, i have a rather weird problem that should fix a bug in my current project. I'm working with a lot of thumbnails randomly positioned on the webpage. all thumbs have an absolute position. this thumbs react on a hover set by jquery: $(".thumb").hover( function () { $(this).stop().animate({"height": full}, "fast"); $(this...

Webkit and IE breaking jQuery slideUp/Down function. FIXED!

Rephrasing a previous question, been worknig on it a while and have fixed a few issues, but remaining is that some menus don't expand or close when clicked in IE and Webkit browsers. Everything works perfectly fine in FF. And the Chrome Developer tools and IE's tools don't show any errors in the scripts. The FILTER MENY is meant to clos...

jQuery: set value of input

Sometimes code says more then words, so the following lines work: $("#text11").append($(xml).find("address").find("street")); $("#<%= tbWoonplaats.ClientID %>").val('testing?'); but these do not: var street = $(xml).find("address").find("street"); $("#<%= tbAdres.ClientID %>").val(street); it displays [object object] in the input...

how to resolve Error: $ is not defined in jquery?

i am using asp.net mvc in that i am using partial views but i get the following error Error: $ is not defined Line: 159 it is for the java script its not getting reference. i included the java script in site.master <script src="../../Scripts/jquery-1.2.6.js" type="text/javascript"></script> <script src="../../Scripts/jquery-...

is there anyway to have jquery ui progress bar show up vertical?

i want a progress bar to show percentfilled but i want to make it vertical like a thermometer like this below. is this possible with an option on Jquery UI progress bar? I want something that looks like ...

How do I get outter HTML from a dynamically created checkbox w/ jQuery?

I am trying to get the HTML of an element to use in a template. I tried using jQuery to create the element and then grab the HTML, but that doesn't seem to do what I thought it would do. I am able to get most of the HTML string from the new element, but the "checked" attribute doesn't seem to get saved. I can manually build up the HTM...

Is it possible to Paginate a table using jquery?

Consider my table with ten rows and i want to show first three rows in page1 and so on... How to paginate a table using jquery? Any good plugin.... ...

How to center li items in quicksand jQuery plugin

My problem is that in some screen resolutions the list items are not in the center of the div while the ul is centered. Does anyone know a solution? Thanks! <ul class="news-grid"> <li></li> <li></li> </ul> $(function() { $('#buttons a').click(function(e) { $.get( $(this).attr('href'), function(data) { ...

How do you create a round navigation system?

Hi. I need to create a round navigation system, similar to the round nav button on an iPod Touch (see image here: http://www.flickr.com/photos/37476174@N06/4668497237/). It needs to be JavaScript-based (not Flash). It would have different menu items around the dial. It also needs to be small (around 300px in diameter). Does such a JavaS...

Validate checkboxes in MVC form

Hi, I have a table in an ASP.NET MVC2 form. On each row in the table there is a checkbox. Underneath the table there is a submitbutton. I want to make the button disabled when NONE of the checkboxes are selected. <% using Html.BeginForm(....) { %> <table> <% foreach (var item in Model) { %> <tr> <td> <input type="checkbox" nam...

JQuery Ajax Url question

Hey Guys, Just a quick question about JQuery's Ajax function, more specifically, the url parameter. My directory structure is like so: contact.html process.php - elements - js - jquery.js - library.js Code below ... // Post with Ajax $.ajax ({ type : 'POST', url : '../../process.php', data : fulldata, ...

Ajax jquery, works in IE, totally broken in Firefox

This piece of javascript always returns null in firefox & chrome, but works fine in internet explorer: $.ajax({ url: "http://mymachine/mywebservice.asmx/myfunction", data: "{ 'q': 'hotels', 'limit': '10' }", dataType: "json", type: "POST", contentType: "application/json; charset=utf-8", dataFilter: function (da...