i discovered later on that effectively something like :
var borderbottom =  parseInt($("#framework").css("borderBottomWidth"), 10);
works well for that i wanted to do :-)



On Sat, Feb 14, 2009 at 8:58 PM, mtsmit2 <mtsm...@gmail.com> wrote:

>
> Hey,
>
> There might might be an easier/better way but I always do the
> following when I get number values from CSS:
>
> parseInt($(.someclass).css("left"));
>
>
>
> On Feb 14, 2:30 pm, Alain Roger <raf.n...@gmail.com> wrote:
> > Hi,
> >
> > i know how to get border width with jQuery but every time it retrieves
> also
> > the format (px or em).
> > is there an easy way to get the border width without the px or em ? or
> > should i do a substring ?
> >
> > thx.
> >
> > --
> > Alain
> > -----------------------------------------------------------
> > Windows XP x64 SP2 / Fedora 10 KDE 4.2
> > PostgreSQL 8.3.5 / MS SQL server 2005
> > Apache 2.2.10
> > PHP 5.2.6
> > C# 2005-2008
>



-- 
Alain
-----------------------------------------------------------
Windows XP x64 SP2 / Fedora 10 KDE 4.2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008

Reply via email to