jquery

How to get data from excel sheet in a loop using jquery?

I am trying to get data from excel to jquery loop? Can someone help me on this? ...

jQuery Appending to Parent

Any ideas StackOverflow wizards... I have added window.parent.document to the code, this works without any errors, but the Close Div still seems to be constricted by the container. Sample can be found here (Click the LIGHTBOX link - bottom right - all styles have been removed): http://demo.squeezedigital.com/barrie-test/iframe-jquery-p...

Contact Form using validation to send to phpmailer

This is the first time I have ever wrote anything in java script so I am unsure if I am doing anything right. I used yensdesign.com tutorial as an example and went from there but cant get it to submit the var to validation.php and also can not get it to at the end give me congrats message for it passing. Any help would be greatly appreci...

How to send and receive data using ASP.NET Web Service and JQuery ?

I want to run a web service method with parameters and get method return value back using JQuery. ie. client : var result = dosomething(var p1, var p2, var p3 ....); when do something accesses WebService with dosomewebservice(int p1,int p2, string p3) { return "something" }; result == "something"; ...

Not able to get siblings value from table row

Hi All, I am trying to get values from adjacent columns, when a radio button is clicked for that row. I'm able to do so, but the problem I'm facing, when there are more elements in the radio button column, then i am getting null values(i.e 2nd row is not working). Please help...Code is all follows <table id="dist_list" class="data"> <t...

jquery: Toggle elements based on result from a function

I have a number of table rows that I would like to toggle the visibility of. They should be visible if a data item I have set on them earlier equals a selected value in a form. This is what I have so far: $('#category-selector').change(function(event) { var category_id = $(this).val(); if(!category_id) { $('tr', '#t...

jQuery scrollTo minified

I downloaded the latest jquery.scrollTo from the plugins site. Is there an obvious reason why the minified version does not work? With the exact same code the console throws the error: $.scrollTo is not a function For info this is my only statement: $.scrollTo('-=600px', 400, { axis:'y' }); ...

Jquery check array perform function

Hello. I am creating a site that requires a very small postcode checker. I have approx 8 postcode prefix's, HX, HD, BD, LS etc in an array. I also have a simple input field and submit btn. When the user types in a postcode for example HX5 9DU I want Jquery to check the array, if there is match for the first 2/3 letters I want a div to fa...

Jquery Form Validation Plugin Not Working

I try to validate a simple Form but the Jquery Validation Plugin not working when I use only Button not The Submit Button. I can not use the Submit button there Because If I use submit Button After Submitting the form It take the Action and goes to Default page while my current form is comes from Ajax. I am very new to Jquery....

PHP/JQuery/AJAX, few teething problems...

Morning/Afternoon guys. Writing some JQuery AJAX shizz and getting a bit stuck. I've got the actual proccess of calling the php file done perfectly, its just trying to get the html on the page to change in a way I want it to. I want to get rid of the a with the id of the one used in the ajax call etc, and replace it with the html passed...

How to generate dynamic drop down lists using jQuery and jsp?

I have a list of type A, in which each element contains another list of type B. I want to create a form in which when a user selects a value from the drop down list containing values of A, another drop down to populate values based on selected item's list of Type B. I am new to jQuery but I know that it is convenient to do this using jQu...

How to disable button on form submittion when form is valid

I am using client side validation. How can I disable submit button, then form is valid? <script src="/content/js/jquery.validate.min.js" type="text/javascript"></script> <script src="/Content/js/MicrosoftAjax.js" type="text/javascript"></script> <script src="/Content/js/MicrosoftMvcValidation.js" type="text/javascript"></script> <fi...

jQuery changing css on navigation when div # scrolls into view

I'm looking to recreate the effect used on this site: http://www.brizk.com/ The site uses one large page that scrolls down. As you scroll down and pass different sections the menu navigation on the left changes css class to "current" as the corresponding div comes into view. I presume this can be done with jQuery using $(window).height...

JQuery: combine two jq selectors

Hi there. Im sure the solution is simple but I cant figure it out :( I need to combine two jquery selectors in one selector: $(this) + $('input[type=text]:first') $(this) is e.g div#selected so the result should be: $('div#selected input[type=text]:first').focus(); How to do? ...

How to select font with its style attribute value.

I have the following html mark up. <p> lorem ipsum lorem ipsum <font style="background-color:yellow"> ipsum </font> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam id enim in tellus sollicitudin viverra. Morbi nec ipsum ligula, non volutpat enim. In quis metus <font style="color:red"> Tincidunt lorem </font>blandit fauci...

Toggle jquery div expand over the another div Animation (Z-Index).

Hi, Following url there is right hand toggle menu which is on flash. I need a Same functionality On jquery. I have try but the problem is to fixing the position. of next div and Image bellow http://www.junkiesdigital.com/ I have made a use Jquery function but I unable to get the exact animation. Here is the page. http://www.junki...

Anyone know how to get the z-index of a div tag that returns the actual number and not 'Auto'?

This gives me auto: I need the number, so I can move one above the other? // Swop div index $("#panel div").each(function(){ alert($(this).css('z-index')); }); ...

web browser become slow or no response after several ajax calls

I'm totally newbie to jquery and ajax, my recently project is to help the representatives (reps) to manage customer quotations online. I have a page which displays all the quotations in a big table. I've managed to use ajax to fetch and display the quotations which associate to a particular rep after i click that rep's name. But the on...

Get Caret Position within an Text Input field

How could can I get the caret position from within an input field. I have seen a few bits and pieces on google but nothing bullet proof. Basically something like a Jquery plugin would be ideal so I could simply do $("#myinput").caretPosition() I realise there may by other non-jQuery solutions and these would also be brilliant if any...

jQuery SlideDown Flickering in Firefox

Hi, once more a jQuery, Firefox flickering issue. (no flickering in IE6/7/8, Safari) I uploaded an example page here: http://sithlord.bplaced.net/testing/jquery_flickering/flickering.html There are two div containers. The inner div is the one I'm hiding. The outer one is the wraping container with the style elements. I found the flick...