[jQuery] simple testing of selectors returning empty result

2010-01-08 Thread Stepan Kabele
In many situations I use jQuery selector and I want to check that result is non empty. To make this simple, I use this code: // jQuery extension to test non-empty select (function($) { $.fn.notempty = function() { if (this.length==0) throw('Empty jQuery selector');

[jQuery] Re: jQuery plugin: Validation

2009-04-11 Thread stepan
hi exam. $(document).ready(function(){ $("#form").validate( errorPlacement: function(error, element) { } ); }); On 11 апр, 13:54, Rick wrote: > I'm using this plugin in its simplest > form..http://docs.jquery.com/Plugins/Validation > > All I have is this for my c

[jQuery] Re: JQuery UI tabs and pagination

2009-04-11 Thread stepan
hi! check the tab ID, or check currently selected tab On 11 апр, 21:00, Claudio Poli wrote: > hi everyone, > I've this situation: an X number of tabs; in tabs content there's a > div classed .to_be_replaced and links for paginating. > when I click on a link it should replace the content > of .to

[jQuery] jQuery BlockUI Plugin (v2)

2009-04-11 Thread stepan
Error in line 227, symbol 17 in IE8 File http://malsup.com/jquery/block/jquery.blockUI.js?v2.16