Cool, thanks.
Now if i want to extend the $.paginator to add a function so i could don't
something like this
this.go_to_page(this.options.current_page);
would i do:
$.paginator.extend(
{
go_to_page: function(number)
{
this.option.new_pag
Do $.extend instead of $.fn.extend to get the result that you want.
--John
On Dec 6, 2007 4:02 PM, Eridius <[EMAIL PROTECTED]> wrote:
>
>
> Ok, I have looked at other code and still get get it to work
>
> (function($)
> {
> $.fn.extend(
> {
> paginator: function(options)
>
Ok, I have looked at other code and still get get it to work
(function($)
{
$.fn.extend(
{
paginator: function(options)
{
$.extend(this.options, options);
//this.go_to_page(this.options.current_page);
3 matches
Mail list logo