jquery

Fancybox close point is not centered on the X button

I am finding that when closing the popup window that the close button is not actually the close point... I am having to click just below left of the X button to actually get it to close even extending into the picture itself. So basically the center of teh X button is not clsoing the window... Anybody have any ideas on this? I am using V...

How to get ID value from tables nested in other tables with jQuery

Hi, I have the following HTML (a snippet): <td class="ms-vb-title" height="100%"> <table class="ms-unselectedtitle" onmouseover="OnItem(this)" ctxname="ctx1" id="5" url= "/Business%20Divisions/5_.000" dref= ...

How can I pass a variable and a string into the same jQuery selector?

I have the following: var x = '.'+this.id; and this does not work: $(x,'#thumb').show(); but this does: $(x).show(); and obviously so does this: $('#thumb').show(); What am I missing? Should I be doing something else in general to pass variables (even on their own) through jQuery? ...

edit the first option name

I have the following code which I do not have access to. What I want to do is add some text into the first option which is now empty. Text such as "Select Address" <select name="My_Saved_Billing" onChange="Choose_My_Saved_Billing(this.selectedIndex)" style="background-color:#EEEEEE"> <option></option> <option value="1394">text</option...

how to set the show position of datepicker?

dear i have a datepicker inside my form. after i click the textfield, datepicker show to up(reverse with drop down). how do i do if i want to show datepicker dropdown not dropup? ...

Stopping a jQuery Content Slider while Flash content plays

Does anyone know a simple script that one could add to a custom jQuery content slider that would make the slider stop while Flash content is being played inside? Or, alternatively, just make the slider stop while hovering the mouse over it? All the best, Robert ...

jQuery and toggling between content divs

Hi everyone! Ok, so this works fine for toggling one post on and off at a time. The script still can't see that it has to make the OTHER posts set to display = "none" when the user clicks on a new one. So if I click on the second post heading after the first, this needs to hide the content associated with the first and the div then di...

jquery code not working( for alert).........

I had a problem wirh my jquery code.My code work well except the alert part in IF condition. $('#datepicker').datepicker({ onSelect: function(dateStr) { var url = 'GetExchangeRate'; var sellingRateValue; var buyingRateValue; $('#Duedate').val(dateStr); $.post(url, { dateToGet: dateStr }, ...

Forcing a reload in JQuery

I am making use of the Lavalamp plugin from http://nixboxdesigns.com/projects/jquery-lavalamp/ and everything seems to be working fine except that there is a little quirk when using the back button. For example: If you are starting off from the home page, the hover is underneath the home menu. Click on a new menu item, the hover appea...

Check if textarea has any characters (and ignore whitespaces) before submitting

I have a simple check ( .val() == "" ) with jQuery if textarea is empty or not before submitting.. it works, but it counts whitespaces. How can I ignore white spaces in this check? // Post guestbook; Check on frontend before submitting function postGuestbook() { if ($('.post-form textarea').val() == "") { $('div.mess...

jquery help needed

hi all, In my form, i have an autocomplete textbox field which sits in a div which is dynamically populated by ajax and the autocomplete functionality is working fine..after the user selecting the autocompleted value from the list in textbox, i need to do some operation on the same and get printed the resulted value on another textbox, h...

Using Delay on a textbox

I am trying to build a functionality where a user types text in the textbox and after a delay of 1 second, each character typed is converted to its upper case. This should happen as the user types. Can i do using jquery? ...

jquery validation messages for fields

Hello All, I am having difficulties while trying to customize the jquery validate plugin. For validating each field, the validate.js is working fine and displaying the proper message near each field, but I need to add one more feature is that when it is right, the textbox border should be in green color and if it is wrong the color sho...

which jquery i can use?

hey guys i want to create one display form in which at the bottom images with some text are display in a sliding format. And when user take mouse pointer onto image that time at the top that image look bigger compare to bottom image.& with image some text also appear with "readmore" button. when you click "readmore" then it redirect to o...

Is it possible to remove the header part of a Jqgrid

Hello everybody, I would like to know if it's possible to remove the header part of a jqgrid (part with the title of the grid and the expand/collapse button). Not the column header but the whole Grid header. Thanks for your answers. Bertrand ...

what's the difference between jquery.js and jquery.min.js

what is the difference between jquery.min.js and jquery.js which on support for all functions ...

jQuery Performance Tuning: Does context always matter?

I'm being asked if there is a difference between two variations on a theme and I honestly don't know the answer. Given the following two functions: $("table").each(function(){ $("td", this).live("hover", function(){ $(this).toggleClass("hover"); }); }); $("table td").each(function(){ $(this).live("hover", function(...

Jquery, JSON, PHP and GMaps

Hi all, I am turning in circles and are hoping for some clarification by you guys ... 1) I have a site, using jquery and a Goolge Maps Plugin (http://plugins.jquery.com/project/gmap). This all works perfectly and I get my markers set right and I really like this solution. This is how it looks like: <script type="text/javascript" src...

Fancybox requires jQuery 1.3+, found 1.2.6. Error in drupal

I am using fancybox module for image display in drupal 6. and while changing the setting i got this error. Fancybox requires jQuery 1.3+, found 1.2.6 and they are asking for packed version. and from Jquery v-1.3 there is no packed version available. Can anybody tell me how to solve it ...

Arrow in jQuery Dialog

Is there any way by which I can show an arrow tip on left of jQuery dialog? I would like to achieve functionality as mentioned in image below. How to do this with Theme roller CSS and icons? ...