testing your url here:

http://test.blairmitchelmore.com/jquery.query/?shosse[]=20&shosse[]=22&shosse[]=23&shosse[]=24&price=0

gives you this

get "shosse" => [20, 22, 23, 24]
>
> get "price" => 0
>
> tostring => "?shosse[0]=20;shosse[1]=22;shosse[2]=23;shosse[3]=24;price=0"
>

then in firebug I tested this

var shooseArray = $.query.get('shosse');

$.each(shooseArray, function (a,b){

console.info(a);
console.info(b);

});

this is a sweet plugin! 1 I was unaware of another absolute jQuery Jem :)

hth - S


2008/7/13 McEdonskiy <[EMAIL PROTECTED]>:

>
> I have a problem with use jquery plugin
> http://plugins.jquery.com/project/query-object
>
> this is my URL
> www.site.ru/search.php?shosse[]=20&shosse[]=22&shosse[]=23&shosse[]=24&price=0<http://www.site.ru/search.php?shosse%5B%5D=20&shosse%5B%5D=22&shosse%5B%5D=23&shosse%5B%5D=24&price=0>
>
>
>
>
> this is my code:
>
> $.query.get('shosse[]')  => empty string (don`t work)
> $.query.get('price') => 0  (work fine)
>
> why it doesn`t work ?
>
> Thanks!
>

Reply via email to