like instead of saying ".text()" say something like ".getnumber()" ??

there is no built in way method to do so...... if there was a plugin
programmed to exist for that, it would be just like the line of code
Leonardo provided


On Dec 14, 1:03 pm, tony stamp <tonyst...@hotmail.co.uk> wrote:
> thanks, but out of interest, how do i just get the number value?
>
>
>
> Leonardo K wrote:
>
> > $('#pageCount').text().replace(')','').replace('(','')
>
> > On Mon, Dec 14, 2009 at 10:41, tony stamp <tonyst...@hotmail.co.uk> wrote:
>
> >> I have a simple span element with the id of pageCount, which has a value
> >> of
> >> "(5)", for example. I am attempting to get the just number value without
> >> the
> >> brackets, or some way of adjusting the number and leaving the brackets.
> >> Any
> >> pointers?
> >> --
> >> View this message in context:
> >>http://old.nabble.com/how-to-get-value-between-brackets-in-a-string-t...
> >> Sent from the jQuery General Discussion mailing list archive at
> >> Nabble.com.
>
> --
> View this message in 
> context:http://old.nabble.com/how-to-get-value-between-brackets-in-a-string-t...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to