jquery

jquery autocomplete and datepicker compatability issue?

Hi, I have a form that is constructed using ZendX_JQuery_Form, the form contains 2 auto complete inputs and 4 datepickers. The datepickers all worked absolutely fine until I added in the autocomplete fields as well, the autocomplete fields (linking to a backend php action in zend framework) work fine as well but they seem to break the d...

How to call event for command button in the grid

Hi I am having command buttons in my Grid like Insert,Update etc.. I customized the grid and add the buttons manually and place the ID's like btnInsert,btnUpdate and so on. The buttons are shown when i click Insert or Update image. My issue is how can i call the event for the above buttons. I just want to validate inputs before...

Jquery: Get value from dynamic attribute

Hello, I’m adding a total amount value to a DIV through a jQuery Ajax call everytime I add a new item to a shopping cart. I need this value to be a part of a difference calculation (payment-totalAmount), but I’m having troubles getting the totalAmount value. I set the total amount in the function called SetTotalAmount and then I try to...

jquery Grid with pagination , sorting and searching

Hi All, How do I populate 2 jquery grid with pagination, sorting and searching in a single page ...

asp:DropDownList - invalid postback or callback argument when adding options via JavaScript/jQuery

I have two dropdown lists: <asp:DropDownList ID="Field_Type" runat="server" /> <asp:DropDownList ID="Field_SubType" runat="server" /> Field_Type is databound, with a list of types, populated from a database. Field_SubType is set via jQuery / AJAX when Field_Type is changed. I then add an option using $("#<%# Field_SubType.ClientID %>"...

Show message box with form entries on submitting the from in asp.net mvc

I have a form which takes multiple inputs from user. Now I wanna show the inputs in a confirmation dialog and submit the form if user clicks OK. CanI use jQuery here?? ...

Create a dynamic table using jQuery

Which is the best way to create dynamic tables from scratch in jQuery and then populate them with data. EDIT : Assume data comes from a script service and I need to create a table dynamically and populate them with the incoming values ...

Free CDN - content delivery network (specifically for hosting jQuery)

Does anyone know of a good/free CDN? We're hosting a small web app and want to load the Jquery JavaScripts from a CDN. Advice would be appreciated. ...

Looking for a compatible table pagination for jquery.columnfilters.js [Solved]

Hi, I'm using jquery.columnfilters.js and I'm looking for a compatible table pagination. I have tryed tablesorter & tablepager + jquery.columnfilters.js without success Thanks ...

Toggle data series by clicking legend in flot chart?

I have played a bit with flot.js for plotting some data, but I have quite a few data series, so the user might want to hide some series. One of flot's examples shows how to toggle data series by using checkboxes. I would like to make clicking the legend's little color box or the label, to toggle the visibility of that series. Is that pos...

Jquery Ajax or Get doesn't work on SOME IE

<script type="text/javascript"> $(document).ready(function(){ function listadepoimentos(page){ // $.get("ajaxes.php", {act:'listadepoimentos', page:page}, function a(b){$('#holder').html(b)}, "text"); $.ajax({ type: 'GET', url: 'ajaxes.php', data: {act:'listadepoimentos', page:page}, ...

jQuery - overwriting events?

Hi all, My page contains some drag-able div elements ( not jQuery UI dragable ). Now we want to add a new feature: the user should be able to select more than one div at a time and drag these div elements without triggering the previous bound events. Now here is my problem: Is it possible to disable the mousedown, mousemove and mouse...

CSS or jQuery problem: Website not behaving correctly.

Go to this beta of my new website (link redacted). If you hover over one of the colored squares, a popup box à la Panic's Coda pops up, except there are two problems: a) The text inside the popup does not show up. It is programmatically set to :) using the following code: $('td.middle', this).text(':)');      td.middle is the class ...

Is there a way to trigger an event with jQuery (or the regular DOM API) without invoking any handlers

I want to trigger a form submit, but not have my usual handlers for that form's submit be called. I could just unregister any listeners, before calling, but that feels ugly (and specific to form submits since they're the only type of event that I can guarantee will be the last to occur). ...

Trying to put a variable in a selector in Jquery.

Im trying to put a variable in a selector but it doesn't work what am i doing wrong? <a class="button left" href="#">left</a> <a class="button right" href="#">right</a> $('.button:not(.disable)').show(); //Works var oButtons = $('.button'); $(oButtons+':not(.disable)').show(); //Doesn't Work why? ...

jQuery: How to overwrite tables width?

I have the table that goes like this: <table style="width:375pt">. How can I overwrite its width to 50%? I need to select just this one table with this width and not other tables on the page. So the question is how to select the table with specific width? Thank you. ...

loading image once file submit clicked

I allow registered users to submit an image to the server. Problem here is, if image's size is too large or if user's internet connection is slow (many people still use dial up here) it take a while before its submitted. And some users keep clicking submit button while the image is in loading process. At one website, I saw that once user...

How do I open one Fancybox after another closes?

Hi, I have 2 fancyboxes and am trying to open the second from the first (either by button or by closing the first).. <div id="firstFancybox" style="display:none"> <p>I'm the first Fancybox!</p> <a id="fancyboxButton" href="#secondFancybox">Close first Fancybox</a> </div> <a id="hiddenLink" href="#firstFancybox"></a> <div id="se...

JQuery UI Different CSS for Tab Page and Progress Bar on Same Page

I am trying to add a JQueryUI Progress Bar to a page that already has a JQueryUI Tab styled on it. The look of the tab pane and tabs has been already set via the CSS. One of the CSS values .ui-widget-header is also used for the Progress Bar. How can I make the Progress Bar use a different definition of this CSS style than the one al...

Jquery Accordion Easing

I am trying to get a nicer feel to my drop down accordion...but it isnt happening for me...any ideas? Here is my code in the accordion itself... <div id="accordion"> <h3 id="branding"><a href="#">Branding</a></h3> <div>Lorem Ipsum is simply dummy text</div> <h3 id="website"><a href="#">Website<...