jquery

jQuery follow hyperlink with a target="_blank"

I am trying to open a hyperlink with target="blank". <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"&gt;&lt;/script&gt; <script type="text/javascript"> jQuery(window).load(function() { $('a').click(); }); </script> </head> <body> <a href="http://www.google.com" target="...

Looping through XML with jQuery

I've got some basic code that can loop through some XML that's generated from Adobe RoboHelp (for our help documentation). This works fine, but since a topic could be nested as many time as the writer wants, i need a better way to loop through this XML rather than just nesting .each() loops. Here's what the XML looks like <?xml version...

Bookmarking page to load specific Frame content, is there a FF add-on or somethign I can do with a bookmarklet?

I am using an application which has a cumbersome menu structure and I would like to create a bookmark to a specific page within the application. The app does not update the url as you click around each screen, and the top level source is I can get the url to the menu item I need, but if I use that in my bookmark, the toolbar is...

Disabling IE8 accelerators for an entire site

(Yes, I know there is a similar question on SO, but it's 8 months old -- since then IE8 RTM has come out -- and not very illuminating) Is it possible to disable IE8's 'Accelerators' on my site? When highlighting text, I have a small popup box that appears beside the cursor (similar to Office 2007) which is being obstructed by them. I ...

JQuery elements ignoring click() code if added to DOM after pageload

So I have some code and I add an element to the DOM after pageload (the second link in the below example) however this newly added element ignores all functions defined for it. So for the example below I want all links in div's with the test class to show an alert. Works fine for the link hard coded but the one added afterwards ignores...

jQuery - livequery plugin help

I add update messages as table rows when a user changes a radio button. I was running into the fact that once the message was added it didn't have the functionality that I thought it would since it was added after the page was already loaded. Then I found the livequery plugin that seemed to allow elements added after the fact to have the...

JQuery How-strong-is-your-password bar

Is there a jQuery project out there, that create on of these "Password-strength-meters" right by a password box and updates the strength-bar when something is typed into the field? Do you know any good ones? ...

Audio echo in Flash using simplemodal and swfobject

When the user clicks on a thumbnail it activates swfobject and simple modal. It opens the modal and loads the swf into the modal. The swf is loading an flv. I used Flash to do the flv -> swf thing. In IE7 there is an audio echo when it's being played in the modal, but not when just watching the swf from the server. I have sucessfully u...

C# ASP.NET Collapsible Gridview

Is there a way to create a collapsible ASP.NET gridview displaying a parent child relationship based on a check box click? ...

Identifying all rows within a table <tbody> element using jQuery

I am trying to retrieve all rows from within a <tbody> section of a table, but am unsure of the syntax for doing so. I've included a dummy table extract below and my latest attempt for achieving the task with jQuery! Table extract: <tbody> <tr> <th id="emergency" colspan="2">Emergency</th> </tr> <tr> <td>Emergency data</t...

How to use jQuery to select IDs not in specific class

I have a jQuery script that selects all IDs with 'Phone' in them. However, I have a small part that needs to NOT select them if they are in a class. What I have, according to the way I understand it is this: $("[id*='Phone']:not('referencePhones')").doSomething(); What am I missing? .referencePhones is a parent class. ie: div cla...

Radio buttons being reset in FF on cache-refresh

(This is technically an addendum to an earlier StackOverflow question I had posted, but my original post asked a different question which doesn't really cover this topic -- I don't want to edit my older question as I feel this is different enough to merit its own page) While browsing my website in Firefox 3.5 (and only FF3.5), I come ac...

jqGrid - Is there a way to always display a vertical scrollbar?

My application has several jqGrids that may or may not contain enough rows to require a vertical scrollbar. But rows may be dynamically added to these grids after they have been created, so that a grid may eventually require a scrollbar. The problem is that if the grid does not have enough rows to require a scrollbar, there is empty spa...

facebox-jquery problem in chrome and safari

Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages. But, in Chrome and Safari you'll can have a bad experiencie when displaying post-submit form (the response). test here with Chrome: http://www.freecss.info/tutorial/contact/index.html "submitemail.php" (the response) is displayed...

Most Efficient way of Filtering an Html Table?

I have an ajax function which call a servlet to get list of products from various webservices, the number of products can go upto 100,000. i need to show this list in a html table. I am trying to provide users an interface to filter this list based on several criteria. Currently i am using a simple jquery plugin to achieve this, but i f...

Setting Focus after Div Animation

Hello, I'm trying to set the focus to an element in a hidden div, after I call the Show method. Here is the code: //Show the Bottom Div $('#dvBottom').show('medium', function() { switch (hdnGenerateScaffoldCount.value.toUpperCase()) { case "Y": $('#dvManualDocumentID').show('fast', function() { ...

lightbox without rel tag or addRel without jquery

yes this is 2 questions. this is the idea. i want to put lightbox(or slimbox or mediabox or whateverbox) to my forum so that it will open user posted links in lightbox. problem is, lightbox require rel=lightbox tag. and people are too lazy to use the custom bbcode that add the correct rel tag to the link. so, can lightbox (or any othe...

Show/Hide (drop/down) area to show a menu

Hi, I want to create a drop down area like once in the top of templatemonster.com .It shows when mouse over it and hide when mouse cursor get out of it. can you introduce me a jquery plugin for this? Also I'm going to add a menu like the top menu of templatemonster.com to this hidden area. How can I make this one? ( specialised with a...

jquery preload images

ok, so i have this "slideshow.html" containing just a bunch of pictures, and the "index.html". index.html <a href="">click</a> <ul></ul> slideshow.html <li><img src="1.jpg" alt="" /></li> <li><img src="2.jpg" alt="" /></li> <li><img src="3.jpg" alt="" /></li> and i have my script like this; $(document).ready(function(){ ...

Integrating Google Custom Search Engine Overlay with Simple Controls Gallery

I'm using the Google CSE Overlay on a page, but I'm having trouble integrating the Simple Controls Gallery (http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm) to the site. SimpleControlsGallery is based on jQuery and does some preloading and uses high z-index values to swap between a list of images. This causes the image to cy...