jquery

Blank out a form with jQuery

I have a form with a standard reset button coded thusly: <input type="reset" class="button standard" value="Clear" /> Trouble is, said form is of the multi-stage sort, so if a user fills out a stage & then returns later, the 'remembered' values for the various fields won't reset when the Clear button is clicked. I'm thinking that att...

Do you know free Download slideshow animation URL Using flash ?

Duplicate of http://stackoverflow.com/questions/680539/do-you-have-flash-or-flex-or-jquery-header-animation-like-this-url-site-http-w Do you know free Download slideshow animation URL Using flash ? ...

do you have Flash or flex or jquery header animation like this url site http://www.zhoyosoft.com?

Please very urgent ------- do you have Flash or flex or jquery header animation like this url site http://www.zhoyosoft.com? is it possiable can do in jquery and also flex ? anybody help me ...

Combinig JQuery datapicker with input field validation /filter

I am using the JQueryui Datepicker. But it doesn't really affect values entered manually in the input-field. Is there some way I can use the same (client) code to specify mask / validation on the input field (when the datapicker is not used - not just have datepicker output the correct format). What would be the most consistent way to...

Multi-Conditional Selectors in jQuery

I'm trying to select elements with multiple conditions, for example I'm doing the following at the moment: $('#myspan').find('input:visible').each(myfunc); Although I know you can do things like $('#myspan input:visible') but it didn't work for me. I need to check for inputs within the span #myspan which are visible and are checked. ...

Is there a plugin or example of a jquery slider working with non-equably divisible values?

I have found two excellent jquery plugins for generating a slider for a web form, which degrade nicely in browsers that do not support javascript have styles turned off etc. The first is the Jquery.UI version : http://ui.jquery.com/demos/slider/#steps The second is a select element to slider : http://www.filamentgroup.com/lab/update_jq...

jQuery maxlength attribute problem with textareas

With jQuery version 1.2.3 I'm trying to add nodes after textarea elements with attribute 'maxlength' but it doesn't work: $("textarea[@maxlength]").after("<b>Aint working</b>"); This is the HTML code: <textarea maxlength="500">This is a test.</textarea> <textarea maxlength="250">Yet another line.</textarea> <textarea maxlength="125"...

Using JQuery to update table cell content from an ajax call

Hi folks, something strange happens, when I try to update a table cell value with the returned data from an ajax call. Considering a Table like this <table> <tr> <th>header1</th> <th>Error Count</th> </tr> <tr> <td>useless data</td> <td><span id="cellToUpdate">244</span></td> </tr> </table> Within an JQuery A...

jQuery Animation problem using nested tables

Hi, I have a problem with animations using jQuery on nested tables. I want to make a table that is a bit like a treeview, with a little + / - to expand and get more details about the clicked row. How can I modify the following code for the animations to work both in Internet Explorer 6.0+ and in Firefox ? I can change the markup or the...

Using JQuery Validate Plugin want to alert fields not filled out, but still save

I am using JQuery Validation plugin and have a question about validation. If I have 3 text fields on a form, textboxA, textboxB, and textboxC. I need to make textboxA and textboxB are required to Save, but I want to alert textboxC was not filled in. For example: textboxA and textboxB have data and the form is submitted, an alert to ...

Why isn't this script running from the masterpage?

I have a Page that is associated with a master page. In the master page, I put the css links in the head section and I put the jquery script tag and the script that contains the function to toggle the grid, but when it is not working. Looks like it is not even calling showhide when I click on an item. Here is a snippet of the master p...

Javascript - unexpectedly passing integer by reference?

I'm having some issues with this - some reason updateCurrentItem is always called with the same parameter regardless. function updatePromoList(query) { query = query.toUpperCase(); clearCurrentList(); var numItems = 0; currentItem = 0; result_set = cached[query.charAt(0)][query.charAt(1)][query.charAt(2)]; for(i in result_set){ if...

jquery.autocomplete.js triggering on radio selection and untriggering...

I'm trying to setup a search page which performs two separate kinds of search using two radio buttons which the user can toggle to indicate what it is their searching for. The second search type I'd decided to use a jquery autocomplete script, because there's a relatively small set of searchable items (~213) and this would produce an at...

How do I find the absolute position of an element using jQuery?

Is there a way of finding the absolute position of an element, i.e. relative to the start of the window, using jQuery? ...

jQuery autohide element after 5 seconds

Is it possible to automatically hide an element in a web page 5 seconds after the form loads using jQuery? Basically, I've got <div id="successMessage">Project saved successfully!</div> that I'd like to disappear after 5 seconds. I've looked at jQuery UI and the hide effect but I'm having a little trouble getting it work the way I wa...

sub nav not directing to page (jquery)

Hi, I have basic markup for a drop down nav, nested lists. The user will click on the top nav item, which will open up the sub nav, but my sub nav links aren't working. It is in a CMS so I must have the links for the placeholder pages there. Markup: <ul class="navtop"> <li><a href="">Who</a> <ul> <li><a href="">Sub Item 1</a>...

How to append tr to top of table

Hi, how can i append a new tr to the top of the table instead of under other tr. Example: <table width='100%'> <tr><td>something</td><td>else here</td></tr> <tr><td>something2</td><td>else here2</td></tr> </table> After a click event in jQuery, how can i place <tr><td>something3</td><td>else here3</td></tr> at the top of the ta...

JQuery BlockUI - How to unblock UI after file download?

Using ASP.Net, JQuery and BlockUI, I'm trying to unblock the UI after a download file dialog is shown. I block the UI when export button is clicked: <script type="text/javascript"> $(document).ready(function(){ $('#<%= BtnExport.ClientID%>').click(function(){ $.blockUI(); }); }); ...

How to bring focus to a window in jquery?

I am trying to bring focus to window using jquery. The window is popup initiated through a button click on the parent page. I have some ajax calls going on in the child window, so data is being updated. My issue is that if the user clicks on the parent window and hides the child behind it, i would like to bring that child window back ...

jQuery plugin structure

I'm using the following as a basis for a jquery plugin but I seem to have some syntax issues from my .find onwards. The code within the click function won't get called and the class is not being applied. Can someone suggest where I may have gone wrong here please? (function($){ $.fn.expandCollapse = function(options){ var ...