jquery

Error in the file returned from a request to the Last.FM API

I'm using the Last.fm API with jquery as follows: $.getJSON('http://ws.audioscrobbler.com/2.0/?JSONCallback=?',{ method: "user.getweeklytrackchart", user: "rj", api_key: "fb04ae401284be24afba0fbc2f4b0efb" }, function(data) { //console.debug (data) } ); I'm getting the following error in Firebug: ...

Exclude jquery ui style from certain buttons/inputs

I need to exclude certain elements from being styled by jquery ui. Is it possible to exclude a certain section of code or disable jquery ui for a specific input button or anything similar? ...

jQuery .load() : callback slideshow function doesn't load all images to load first, but then loads correctly on second .load()

Hi there, Ive got this function, showcase_loader() that loads html into a wrapper with .load() and then fires up a plugin function called .nivoslider() which formats a list of images into a slideshow, depending on the dimensions of all the images in that list (has to wait for all of them to load to do that). Once I fire .load...

How to automatically mark the checkbox field as enabled during the onclick event of a cell

I have a html table with many cells and I would like to set a checkbox field as enabled with style="display: none" when somebody tries to click on a particular cell. I should reset this when the user clicks on the same cell again. How should I do this using jquery? ...

how to create google effect?

Possible Duplicate: Fade in on mouse movement (like on google.com) i wonder how to create google effect on my home page. i want exacty same effect. explain me in detail to use it on my home page. thenks. ...

draggable() and droppable() not functioning in IE6,7

hallo everyone, the drag and drop app that i have built functions perfectly in chrome and firefox but when i try it on IE i get "Object required" as error . so the draggable() does not work at all. can anyone please help me solve this bug.thanks function readJSON(json, i, end) { myarray = eval(json); $.each(myarray, function (...

setTimeout not working with jquery

I have a jquery extended function that works perfectly but when i pass it through the setTimout it does not wait the the specified period and runs straight away. jQuery(document).ready(function($) { setTimeout($.mainmenuslider({ trigger:'close' }),6000); }); Any Ideas??? ...

IE6 throws mix-content warning when using JQuery RTE

I am using Jquery Rich Text Editor (RTE) in a page accessed through HTTPS in IE6 browser. When the RTE loads I get a mixed-content warning saying: 'This page contains both secure and non secure items. Do you want to display the non secure item ?' This is probably happening because jquery while creating the RTE creates IFRAMES which ha...

jcrop & preview

Hi, I'm trying to use jcrop with the preview functionality. It works fine except for the fact that the div which contains the preview image is moved around as I change the selection on the original image. After a few hours of struggle i'm about to give up :) Has any one run into this? thanks, florin ...

Javascript/jQuery Data Storage Method (Database)

Hello! I'm currently designing a website that would involve storing a long list of names (with no additional data) on the server and then outputting them to the client browser on request. To store these names I obviously would need a data storage method of some sort and I was just wondering, as the entire site is coded in javascript/jq...

Aerowindow like windows7 using jquery

I want to generate Boxes in the Aero Style in Window7 style using jquery.The popup window should offer the usual options and full functionality similar to Windows windows.How is it possible. ...

Dynamically loading stylesheet for print in IE

I have the following code to load a new stylesheet to print a lightbox dialog: $styleUrl = '../Content/styles/icis.dashboard.colorbox.print.css'; if (document.createStyleSheet) { document.createStyleSheet($styleUrl); } else { $('head').append('<link rel="stylesheet" type="text/css" href="../Content/styles...

jQuery Selector Click Function Help

Hi, I am trying to apply the following jquery click function but for some reason can't seem to get the selector right, i.e.: $("ul.menu li a").click(function(){ $("ul.menu li").find("a").removeAttr("id"); $(this).attr("id" , "current" ); }); This is my HTML code I am trying to apply it to, i,e,: <div id="sidebar"> ...

Can anybody hack my ajax request in jquery?

Hello, Many a times i do some weird things while using jquery ajax. I mean, i keep a hidden variable which contains id and then when somebody clicks button, i run a javascript function which passes ajax request along with the id that is contained in hidden field. Is this normal? What if somebody uses firebug or any such tool and changes...

format.js argument

Hi all, I've a question about passing argument with format.js There's my code (create method): respond_to do |format| format.js end I would like to know how can i get a variable value in my create.js.erb Thanks ...

Loop to create multiple div elements? JQUERY

Any idea what's wrong with my code? var pageLimit=30; $(document).ready(function() { for(var i = 1; i <= pageLimit; i++) { $('#test').append('<div id="page' + i + '" class="touch">TESTING</ div>' ) } } What I want is to have that function create as many divs in the body as the pageLimit value. So if someone were to go into the co...

ASP.NET MVC Form Submit with Link in stead of Button

Ok, I've wasted enough time trying things, time to ask for an aimed answer: I would like to have a simple login form (or any form for that matter), and be able to post it, not with a button, but with a link. So no input, but a. I've seen plenty of solutions for this type of question, and I've tried lots of different options, and every...

Does jqgrid support row height so i can get multi lines showing in one row

I have a few columns that are very long and i want to show all of the content so i want to setup jqgrid to have the height of each row able to show multiple lines of text in one cell which word wraps is this possible ...

parsing simple xml with jquery

i've got a simple xml file (called by ajax) that contains only: <result>1</result> with jquery, i can get the value (1) of result? thanks! Rob ...

treeview inside selectbox using jquery

Hi Anybody have an example of treeview inside combobox using jquery or javascript ,please let me know thanks ...