147 posts
  • Czech Republic
  • Has been a member for 2-3 years
Itachicz says

Hi.

My jQuery pagination for slider creator looks like this “Page 1 of 12” and when it’s clicked it goes like this “1”, and now when the page is set I want to look it as on the begining “Page 2 of 12”. Here is how it looks like http://screenr.com/kVr7

So is here any way how to write condition “If pagination was’t changed do something”. Or “If text in pagination was unselected do something”?

Thx for your advices.

1400 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
OriginalEXE says

Do something when?

161 posts
  • Bought between 1 and 9 items
  • Europe
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
themebros says

Not quite sure what you’re trying to do with that.

When you change the value of the input and click outside of it you can use this to bind an action to that event.

$('.the-input-selector').change(function(){
    /* do something */
});

If you want to do something every time a key (on the keyboard) is released (when typing in the input) the you can do it like this.

$('.the-input-selector').keyup(function(){
    /* do something */
});
147 posts
  • Czech Republic
  • Has been a member for 2-3 years
Itachicz says

So first of all sorry for this unclear question. So I want to do something, when I click outside of the text input.

Thx for your time.

741 posts
  • Has been a member for 5-6 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Poland
  • Referred between 10 and 49 users
Orbital_Themes says
$( 'input' ).blur( function() {
    // do something
} );
147 posts
  • Czech Republic
  • Has been a member for 2-3 years
Itachicz says

$( 'input' ).blur( function() {
    // do something
} );

Thx :) That’s exactly what I was searching for :)

by
by
by
by
by
by