jquery-plugins

Rearranging div hierarchy with jquery

I'm using jQuery's form plugin to submit a form asynchronously. The server sends back HTML which goes into a div #boardcontainer by setting the target of an ajaxForm call. This works fine. ... var options = { target: '#boardcontainer', // target element(s) to be updated with server response beforeSubmit: sho...

JQuery star rating plugin - disable after vote submission

Hi, I'm using the JQuery star rating plugin (v2.61) from http://www.fyneworks.com/jquery/star-rating/. Everything's going well, but I'd like to disable the stars when a user has voted. Currently my users select their rating and click the mouse. This updates my database through an AJAX call. The star rater changes to show the user's ...

jQuery tablesorter extension problem with multiple clicks?

Ok, I have a table, made by a GridView, and attached a tablesorter to it, it works just fine. Then I put it inside an updatepanel, and added the code to rebind it on a postback, here is my script: function loadEvents() { $("table[id$='gv']").tablesorter(); } $(document).ready(function() { loadEvents(); }); function reBind() { if (S...

Scrollable Table using jQuery

Is there any good and light jQuery plugin out there make Scrollable Tables. I got one at http://www.webtoolkit.info/scrollable-html-table-plugin-for-jquery.html but that won't working non-IE and non-FF browsers. Thanks! ...

autocomplete using jquery not working in ie7

Hi, i am using jquery autocomplete in 2 places in the same page: One in the header and one in the body of the page. Both work fine in Firefox and Chrome. But in IE the autocomplete in the header works fine and not the one in the body. Could someone please let me know what the problem could be and a possible solution? Thanks in Adva...

$.blockUI loading mask

hi, i am using jQuery BlockUI Plugin (v2) to block and unblock while loading and when on clicking some button.but my problem is masking is working fine while loading page but it is not working when we click button,here is my code $("input[name^=filtera]").click(function(){ $.blockUI({message:'<h3><img src="images/spinner.gif" /> P...

jQuery autocomplete plugin not focusing the next clicked field

I'm using the Jörn Zaefferer's jQuery autocomplete plugin which works great, except for a small bug: if a user begins typing in one field where the autocomplete is attached to, but then while the suggest is still showing they click on another input field, the cursor returns back to the field with the autocomplete. Are there any solution...

Jquery question: How can I break up a multi-part form so that only one fieldset is visible at a time?

Hi! I have a firm grasp on XHTML & CSS, but PHP & Javascript look like magic to me. I'm building a discussion site using the PHP-based Textpattern CMS. When users are logged in, they can use a public-side form to add a new discussion topic. There are a lot of input fields, grouped by the HTML fieldset element within a single form elemen...

Phototagging like in Facebook and Orkut album photos?

Is there a jQuery library or any leads on implementing that photo tagging like in Facebook and Orkut Photo albums? Thanks ...

jQuery plugin only being applied to last declared element

I wrote a jQuery plugin to control animations for several images on the same page. The calls are initialized at the beginning as: $("#image1").anims({top: "240px", left: "300px"}); $("#image2").anims({top: "160px", left: "430px"}); The anims plugin basically applies a bunch of animations on mouseover and mouseout (using hover) based o...

How do I change the selected item in a dropdown based on user input in a text box?

I have a select dropdown that could possibly contain over 1000 items for a large customer. <select name="location" id="location"> <option value="1">Store# 1257</option> <option value="2">Store# 1258</option> ... <option value="973">Store# 8200</option> <option value="974">Store# 8250</option> <option value="975...

How to get image size (height & width) using javascript?

Is there any javascript or jquery apis or methods to get the dimensions of an image on the page? ...

JQuery CreditCard validator

Hi I get the following error when I try to validate credit card, it seems to be a straight forward error, the catch is that it occurs even after the jquery.validate.js is included. for some reason it is unable to find the function, and has broken my code. did anyone encounter a similar problem? (jQuery.validator.methods.creditcard(el...

Layering problem with jQuery accordion and IE7

I have a strange problem with the jQuery accordion plugin and IE7 (and maybe earlier, haven't tested there). I'm using a customized jQuery UI theme built with ThemeRoller. I've tweaked it some to adjust colors, margins, and borders. The accordion is located inside a DIV which is, in turn, nested inside my main content. Simplified mar...

how to remove 'another in place editor' from a field (jQuery inplace.js plugin)

I am able to set up the inplace editor no problem, everything works great, but I haven't found a way to remove it once it is attached to a field, anyone know how? I am talking about this plugin here: http://www.davehauenstein.com/code/jquery-edit-in-place/ ...

jQuery-UI Theming - CSS Sizing Differences

When using the jQueryUI samples on the website (theme browser) things look great. But, when I put the code and theme into my application, the sizing is way out of whack (I'm trying to utilize the Redmond theme). Any ideas as to why these samples look so different? In the application I've built, there is only 1 CSS reference which is f...

jFeed - sucess function not being executed (jQuery plugin)

I have the following Javascript code, where feed is a valid url to an rss feed. jQuery(function() { jQuery.getFeed({ url:feed, success: function(feed){ alert(feed); } }); });} when i run this the alert never shows up. using firebug i can see the c...

Is it a good idea to write domain-specific javascript as jquery plugins?

Is it a good idea to write your application javascript as jquery plugins? PROS: Promote reuse by creating a generic interface CONS: Not exactly an extension of jquery. What are your thoughts? ...

Default form submit behavior after jQuery forms.js ajaxSubmit executes

I'm using the jQuery Form Plugin to bind the submit events for two forms on the same page so that they are submitted to separate PHP scripts that return markup to separate divs on the page. One form refreshes the next. I use "live" so each form has its events re-bound when it is refreshed: $(document).ready(function() { /* Form 1 *...

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...