it's not jquery. just pure javascript.
and i dunno jquery, so i dunno where would you plug it. i just recommend you
to dont "plug", but just use.
On Fri, Sep 19, 2008 at 11:35 AM, Ming Cho <[EMAIL PROTECTED]> wrote:
>
> this is just general javascript right? it want to make it part of the
> validation part of jquery.
>
> If this is it where do i plug in or at least which area i should look
> at?
>
> On Sep 19, 8:11 am, "E. Myller" <[EMAIL PROTECTED]> wrote:
> > to check if something is int or float, just do:
> >
> > if (Math.floor(n).toString() == n.toString()) {
> > // yay! we have an int} else {
> >
> > // it's a float or something else.
> >
> > }
> > On Fri, Sep 19, 2008 at 3:00 AM, Ming Cho <[EMAIL PROTECTED]> wrote:
> >
> > > not sure if this is built in or not, but all i need to do is check if
> > > an input text value is a Int, Float and contain less than x amount of
> > > characters. I read the API and not sure if it's already built in or
> > > i'll have to add it.
> >
> > > If i have to add it myself where is a good tutorial?
> >
> > --
> > E. Myller (www.emyller.net)
> >
>
--
E. Myller ( www.emyller.net )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---