jquery

jQuery / Dojo, UI / Dijit cross reference?

I concede that this question may fall into the 'discussable' but not 'answerable' category. If so, I do apologize and please mark the question as such. The question: I've mainly used jQuery and UI for my front-end interaction and AJAX. I need to help on a Dojo project quickly if possible and was wondering if anyone knows of a decent bit...

Why does appending a <script> to a dynamically created <iframe> seem to run the script in the parent page?

I'm attempting to create an <iframe> using JavaScript, then append a <script> element to that <iframe>, which I want to run in the context of the <iframe>d document. Unfortunately, it seems I'm doing something wrong - my JavaScript appears to execute successfully, but the context of the <script> is the parent page, not the <iframe>d doc...

Jquery Image Rotator with iPhone-like Page dots

I need a jQuery Image Rotator that rotates 4 images (fades in/out every 5 seconds or so), but it has the iPhone page dots to show which one is currently shown (Example of Dots). How would you do this? Any help would be appreciated. ...

How to create Gmail Chat? How to connect to AIM and allow for AIM chatting?

I want to know how gmail chat allows the user to connect to AIM and then chat as if he were logged on to AIM. Is this easy to make? How can it be done? Does anybody know of any similar open source tools? Thanks! ...

JavaScript/jQuery check broken links.

I developed a small Javascript/jQuery program to access a collection of pdf files for internal use. And I wanted to have the information div of a pdf file highlighted if the file actually exist. Is there a way to programmatically determine if a link to a file is broken? If so, How? Any guide or suggestion is appropriated. ...

JQuery mouse events with stacked elements

I have a web page with a table. Using jQuery 1.3.2, I absolutely position a div element over the top of each row on the table. The overlaying div has a higher z-index. I attach 'mouseenter' and 'mouseleave' events to the overlaying div element. On mouseenter, I throw a red border around the overlaying div. On mouseleave, I remove the bo...

How to focus on a form input text field on page load using Jquery?

This is probably very simple, but could somebody tell me how to get the cursor blinking on a text box on page load? ...

jquery autocomplete with json response

im getting response in json, but this wont parse the json response. what m i doing wrong? i could'nt find anything on doc http://docs.jquery.com/Plugins/Autocomplete $("#users-allowed").autocomplete("/people/following.json", { width: 320, // max: 4, highlight: false, scroll: true, scrollHeight: ...

Cannot select grid element through jQuery

This is a follow-up question to ASP.NET How to pass container value as javascript argument Darin Dimitrov has kindly provided his answer using jQuery, But for some reason, I was not able to select the grid row I wanted to. Here is the jQuery used to select row. $(function() { $('#_TrustGrid input[name^=trustDocIDTextBox]').each(f...

jQuery Load problem in Internet Explorer

I am having troubles with jQuery's load function and am hoping for some help. I just started testing a site I built in IE to debug/hack/etc to make sure it works. Firefox/safari/etc all work great. .load won't work for me though. It just seems to hang. Would love some help. Here is a simplified version of the problem: <!DOCTYPE HT...

jQuery ".cycle is not a function" error - follow-up from http://stackoverflow.com/questions/1586998/

So I am trying to implement the solution suggested to me in my previous question (http://stackoverflow.com/questions/1586998/). I want to use the Cycle library found here: http://malsup.com/jquery/cycle2/ to cycle through the contents of a DIV that I am populating with rows from a custom SharePoint list. The html I am creating appears to...

Collapse all the tabs in a Accordion on jquery?

By using the Telerik Extensions for ASP.NET MVC, how can I hide all the Accordion Tabs on page loading up ? By default, it will expand the first Accordion tab on page loading up! Thanks a lot! ...

Serving static content from port 8080?

Hi, Is it a bad practice to serve JS (static content basically - css, js and images) on port 8080 instead of HTTP (80)? If so, why? If not, are there any advantages at all? ...

not getting radio button values in jquery ajaxform

Hi, I have a form which is binded to a JQuery Form (AjaxForm) object. In the form I have some radio buttons: <input type="radio" id="dialog_stranka_dodajuredi_tip_fizicna" name="dialog_stranka_dodajuredi_tip" value="2" /> Selection 2 <input type="radio" id="dialog_stranka_dodajuredi_tip_pravna" name="dialog_stranka_dodajuredi_tip" val...

jQuery caching with POST

Hello, Although I have set cache:false in a jQuery AJAX Post request, it does not add the extra randomg string. Is this because post does not cache? Thank you for your time. ...

jQuery chaining and toggle not running

If I run this code, var waitRow = $(this).parent().parent().next().get(0); $(waitRow).children('td:nth-child(2)').html('some text').toggle(); toggle is not called. If I instead write the following code it works. Why? var waitRow = $(this).parent().parent().next().get(0); $(waitRow).children('td:nth-child(2)').html('some text'); $(wa...

jQuery plugin to animate colors form one class to another

Hi all, There are a lot of jQuery color plugins. However I couldn't find the one to animate between css class declarations. For example doing a smooth animation from .class1 to .class2: .class1 { background-color: #000000 } .class2 { background-color: #000088 } Is this possible at all? ...

How can I get IE's width without scrollbar

I get the width of the browser using the following line: $(document).width() and then I set the element to this width. But in IE, the horizontal scrollbar appears (width is larger than the browser size - I think this is because it counts the width of vertical scrollbar). I use the html 4.0 transition doctype. What should I do? ...

Jquery blockUI + Validate plugin - Validation not firing

Context: Using Asp.net 2.0 webforms, Jquery 1.3.2 and BlockUI and Validation plugins. I have a Gridview which is databound with some html buttons and then these buttons are wired up in jquery so that when clicked, blockUI displays a div with various inputs. When the modal is submitted, I am using the Validate plug-in to validate the inp...

Wrong extraction of .attr("href") in IE7 vs all other browsers?

Can it really be true that the attr("href") command for a link is handled very different in IE7 in comparison to all other browsers? Let's say I have a page at http://example.com/page.html and I have this HTML: <a href="#someAnchor" class="lnkTest">Link text</a> and this jQuery: var strHref = $(".lnkTest").attr("href"); Then in IE...