jquery

Jquery AJAX not working on IE 7/8

I am trying to debug the reason why my ajax get/post is not working in IE 7/8 Here my code: $.ajax({type: "POST", dataType:'html',url: "/places/set_member/add/",data: "place_id="+place_id , beforeSend: function() {$("<span class='notice'>Saving...</span>").prependTo('body');}, success: fun...

jQuery - Call click

I have this jQuery which adds a click event to the selected object (from jQuery LightBox): $('#jquery-overlay,#jquery-lightbox').click(function() {_finish();}); How in code would I call the click event? ...

Flash/Actionscript a substitute for css and javascript?

I have reasonable experience with PHP, CSS, and javascript/jquery/ajax. I'm taking my first steps learning Flex/Flash/Actionscript and it's already striking me that using flash/SWF could solve many of my problems. For example: I won't have to worry much about javascript availability e.g. handling the form submit twice like I do now, on...

jqueryUI datepicker fires input's blur before passing date, avoid/workaround?

I have some validation on a text input bound to its blur event. I have a datepicker on this field (the version from jqueryUI), so when you click the field, datepicker shows up, then you click a date and it populates the date into the field as datepicker does. However, right before the date is entered it seems the input field gets its blu...

jQuery lightBox p[lug in - Show NEXT button all the time

I have switched to the jQuery lightBox plug in. How do I set it so that the next and previous buttons always show. My users are not quick enough to know you have to mouse the mouse over the image to see more. ...

jQuery: consecutive Ajax requests allowed?

$(document).ready(function() { $("#firstTimeSubmit").click(function(event) { event.preventDefault(); var name = $("#firstTimeText").val(); if (name == "" || name.length > 12) { $("#updates").html("<b>Dummy! Invalid name!</b>"); } else { $.ajax({ type: "GET", url: "http://hiscore.runescape.com...

Uploadify causing error in IE 7/8

For some reason when I load a page with uploadify, in IE 8 I get this Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) Timestamp: Sun, 29 Nov 2009 01:36:52 UTC Message: Object doesn't support this pr...

jQuery Tools Tooltip Issue

I am using the jQuery tools tooltip on a page. When the user rollovers a link, I would like to show a ordered (or unordered) list on a image. The list is dynamic for each link. I can get it to work for the first link but all other links do not work. Does anyone have a working example of multiple dynamic jQuery Tools Tooltips working on ...

Does jQuery support reading JSON from X-JSON HTTP headers?

Is jQuery able to read JSON data from X-JSON HTTP headers returned by the server? I've been searching through the jQuery docs, but all the examples I can find use JSON returned in the request body rather than the headers. ...

Jquery to target same id as class name of clicked element?

I'm trying to use jquery to enable a form button only after a radio button has been selected. It's a t-shirt shop where the user is required to choose a size before the 'add to cart' button becomes enabled. The html looks a bit like this: <input class="radioclick product21" type="radio" name="variation[variation_select_21_1]" value="1">...

jquery: :submit selector not working ?

I have an html page which contains a button like this. <input id="qsbButton" class="btn" type="submit" tabindex="10" value="Search" name="qsbButton" onclick="searchSubmitted();return true;"/> $(':image,:reset,:button,:submit').unbind("click") .bind('click',function(e){ alert("clicked!"); }); $('input:not(:submit),textarea').change(fu...

JQuery Portfolio with Dynamic Data from a DB in ASP.NET

Hello, I want to create a portfolio page like the one in the link below but I am trying to get all the information (Categories and Images and names etc) from a LinqDataSource. http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/ I am having the same html page source with the one in the sample i...

this[0].innerHTML is undefined on JQuery Each?

Hey there! Sorry, but for some reason my call to each() always fails, and "this[0].innerHTML is undefined" shows up in fire bug. The code isn't particularly complicated and it seems to follow all the examples I've seen so far. Would anybody have an idea as to why this would fail? $("#theirItems tbody tr").each(function(i){ var ...

Browser response size limit.

Hi all, I am calling my cross domain web-service through a getJson() call from jQuery. As my response object size is pretty big, i have used the maximum JSon size for my web-service. I have checked getJson() is giving proper response object. But still my callback function is not called. Firebug is saying that it's(firefox) response siz...

submitHandler doesn't work

The following code doesn't work. $(document).ready(function(){ $("#digitalchange").validate( { rules: { addbalance: { digits:true, min:20, max:1000 }, addquota: { digits:true, min:5, ...

Append to a div using jquery

I'm trying to add content to a div every time a link is clicked. However, the added text dissapears immediately after being added. What am I doing wrong? <html> <head> <script type="text/javascript" src=...

calling jquery function & passing variable

Hiya Not really much of a JS man - so can anyone explain why this isn't working? I want to call a predefined function in one script from my simple AJAX script - I just want it to call the qtip functionality upon the contents of the div brought into the page via AJAX. Thanks, H SCript 1 - AJAX loader if(myHttpRequest.readyStat...

jQuery lightBox plugin by balupton

Using the jQuery plugin http://jquery.com/plugins/project/jquerylightbox%5Fbal Is there a way to have the title and NEXt/PREVIOUS buttons always appear. Currently we have to hover to have these appear and my users mostly aren't noticing that. LightBox2 and others allow this but I need it based on jQuery as the other frameworks interfer...

Jquery fullCalendar removeEvents

$('#calendar').fullCalendar('removeEvents') is only removing events from the current month and not others. Any idea what i'm doing wrong? Anyone else come accross this problem? ...

How do you style the errored input fields with the jQuery validation plugin?

I'm using the jQuery validation plugin, and I want to add a class to the input fields that doesn't validate, i.e. add a red border. Anyone know how to do this? ...