jquery

jQuery Validate on form submitted by JavaScript

My form is submitted by a link using JavaScript, but I am also trying to validate the from justing jQuery validate. The validation doesn't work when submitted by the link, but it does if I change the link to a submit button. What am I doing wrong? My form: <form id="findmatch" method="post" action="search"> <div> ...

iTunes style layout using CSS

What is the best way (using HTML/CSS) to create an iTunes-style layout with the following features: a left column with a fixed width but fluid height (scrollbars for overflow) (BLUE below) a main content column with fluid width and height (scrollbars for overflow) (RED below) a bottom right box with fixed width and height which remains...

tag cloud filter help please

Thanks all for the help, rod. Hi All, I have a div that contains many spans and each of those spans contains a single href. Basically it's a tag cloud. What I'd like to do is have a textbox that filters the tag cloud on KeyUp event. Any ideas or is this possible? Updated question: What would be the best way to reset the list to ...

jquery cycle slideshow with text underneath

Hi, I have a simple slideshow of images using the jquery cycle script. I'm trying to place description text to appear UNDER the slides of images - but it doesn't seem to be possible - any ideas? here's the test page: http://jsfiddle.net/cjaM5/ You can see the description text flashing after the 3rd image in the slides. I've tried dis...

Jquery Calendar arrows missing

I was trying out the Jquery Calendar on my website and it worked fine. I linked the css stylesheet from ajax.googleapis.com and the calendar was fine but too big. So i simply copied the file to my server and changed the height and the width in the file. But now the arrows for moving forward and backward have gone. How do I get them back...

Jquery toggle with 2 triggers

I have two different links to fire a toggle function. However, they act independently: Link 1: On Link 2: On Link 2: Off Link 1: On However, I would like them to work as if they were the same link: Link 1: On Link 2: Off Link 2: On Link 1: Off Here is my current code... any help would be appreciated. http://www.jsfiddle.net/Gavyz/ ...

Call a function from a button that is created during jqGrid's gridComplete event?

I'm trying to call a function in the onclick event of the button that is created during the gridComplete event..Loads OK…here's what the rendered html looks like for the button in the first row <input type="button" onclick="deleteRow(9197113);" value="Delete" style="height: 22px; width: 70px;"> but when i click the button…the function...

jQuery Audio Player

I was given 2 MP3 files, one that is 4.5Mb and one that is 5.6Mb. I was instructed to have them play on a website i am managing. I have found a nice, clean looking CSS based jQuery audio player. My question is, is this the right solution for files that big? I am not sure if the player preloads the file, or streams it ? (if that is th...

Problem with jQuery accordion and cookies

I have a jQuery accordion from this site and edited for my purposes, but the accordion only works in Firefox (not Safari or Chrome) and the cookies aren't being set correctly. This is the jQuery: function initMenus() { $('#sidebar .letter_index').hide(); $.each($('#sidebar .letter_index'), f...

add html to div with jQuery

Hi. I am trying to add some additional html to a div with id slideshow using jQuery. My code: $("#slideshow").append("<a id="prev" title="Previous Slide">Previous Slide</a><a id="next" title="Next Slide">Next Slide</a>"); This isn't working, can anyone tell me what I am doing wrong? ...

Problem with $.get while submitting form

I'm trying to verify that an Account Name is not already in use once a user fills out a form. The code looks like: $("#add_account").submit( function () { $.get( "'.url::site("ajax/check_account_name").'", {account_name: "t"}, function(data){ alert( data ); ...

Jquery :not()selector

<html lang="en"> <head> <style> #thisdiv {padding:10px; margin:-15px 0 0 40px; background-color:#333; position:absolute; display:none;} div.block {margin-top:10px; width:200px;} div#thisdiv a {color:#fff;} </style> </head> <body> <div id ="one" class="block"><a href="">one</a></div> <div id="thisdiv">hello</div> <div id ="two"class="bl...

How do I need to use Jquery UI Block

hi, i have a button on the page in asp.net mvc control.. when I click the button its taking some time to finish the work on my page.. mean while If user wants to do something on the page I should not allow the user to do soo.. So that I need to show the message please wait.. is this the good idea to use jquery ui blcok? or do I need t...

jQuery scroll fails for iframe (firefox)

I cannot get scroll to work, here is the complete stuff: http://zed.mit.edu/scroll2/buc.php I'm trying to refresh the page while maintaining the scroll position of the iframe inside. I'd like to have an alert when I actively scroll the iframe, these two both fail: $(top).frames['#iframe_bucinid'].scroll(function() .... $('#iframe_bu...

Dom Traversal to Automate Keyboard Focus - Spatial Navigation

I'm going to start with a little background that will hopefully help my question make more sense. I am developing an application for a television. The concept is simple and basically works by overlaying a browser over the video plane of the TV. Now being a TV, there is no mouse or additional pointing device. All interaction is done th...

How to do i need to implemnet paging for jquery grid

hi, I have a gird with user data around like 5000 users in the grid.. right now I am displaying all the users in the grid.. but I need to make it like only 500 user for page.. so i need to implement paging in the grid with previous and next buttong on the bottom of the page.. can any body tell me how to do this? thanks ...

Stop scrolling to ID when opening jQuery Modal via URL

I need to be able to open an ID'd jQuery UI Modal on a page when that modal's ID is passed in the page's URL. For example: http://mysite.com/visit.html#directions #directions is an ID'd DIV at the very bottom of the page, right before the closing BODY element. It's instantiated as a jQuery UI dialog on page load, then I'm running a ...

jsonp is not firing beforeSend?

Hi All, I am working on a project to call a webservice from different domain using $.ajax with dataType set to jsonp. $.ajax({ type: "GET", url: testService.asmx, async: true, contentType: "application/json; charset=utf-8", dataType: "jsonp", beforeSend: function (XMLHttpRequest) { ...

Why can't I use relative URLs with IE7?

Hello everyone. I've been Googling for a while and can't seem to find an answer to this question. My problem is as follows: For my jquery, I need my links to be relative rather than absolute. My PHP is set to return relative urls and everything is working fine, until I test it in IE7. For some reason, IE7 keeps changing my relative urls...

dynamic tag count on keyup

Hi All, I have a div that contains many spans and each of those spans contains a single href. Basically it's a tag cloud. I have a textbox with a keyup event that filters the tag cloud div (It actually just hides the tags if not in filter condition). Is there a way to get a count of the tags shown as the keyup event occurs? Thanks, r...