The reason i asked is because i was looking into some custom form element
styling functions so i wanted to be able to do something like
Select.style()
Input.style()
Radio.style()
And so on but i will most likely have to do it a different way
-Original Message-
From: Sanford Whiteman [mai
If the browser exposes and allows you to further extend HTMLElement extensions
such as HTMLTableElement, then yes. But I wouldn't bother with it because
you're not going to get full BC and have to implement get('tag') as a failsafe
anyway.
If you plan to use document.id() everywhere (thus assum
Thats what i have been doing but i thought i would ask the question anyway
From: Ryan Florence [mailto:rpflore...@gmail.com]
Sent: Friday, 15 July 2011 2:02 PM
To: mootools-users@googlegroups.com
Subject: Re: [Moo] Element.implement
afaik you just do this.get('tag') and check it.
I'd j
',1,2,3'.split(',') creates an empty string for the first element.
Array.clean only gets rid of null values and '' != null
You'll want to use Array.filter.
On Jul 14, 2011, at 6:54 PM, Steve Onnis wrote:
> Why would this not work?
>
> console.log(Array.from((",1,2,3,4").split(",")).clean())
>
afaik you just do this.get('tag') and check it.
I'd just implement it and plan on using it on just table elements, I wouldn't
bother with the check.
On Jul 14, 2011, at 9:29 PM, Steve Onnis wrote:
> Like if i only want to implement something on a table element for example
>
> From: Ryan Flore
Like if i only want to implement something on a table element for example
From: Ryan Florence [mailto:rpflore...@gmail.com]
Sent: Friday, 15 July 2011 1:17 PM
To: mootools-users@googlegroups.com
Subject: Re: [Moo] Element.implement
You might have asked "Can you implement methods on only ce
You might have asked "Can you implement methods on only certain types of
elements"
You'll need to do this.get('tag') and check against it in your method.
And you might have asked "Can you implement methods on a particular element".
In this case, simple append a method to the element.
var el =
Can you implement things on particular elements only? Or do you have to
check the type of element in the implements function and deal with it there?
Steve
Let me try that again as i forgot a key bit :) Array.from will create the
blank string value to fill in for undefined
the console out put from your code ["", "1", "2", "3", "4"]. As to why it
does that the mootools devs will know better then me. I just know it does it
:D
On Thu, Jul 14, 2011
Because just '' has defind a blank string value. Clen will only remove a
NULL or an Undefined value. you will want erase to get the effect you are
looking for
console.log(Array.from((",1,2,3,4,").split(",")).erase(''))
On Thu, Jul 14, 2011 at 8:54 PM, Steve Onnis wrote:
> Why would this not wor
Why would this not work?
console.log(Array.from((",1,2,3,4").split(",")).clean())
The first item is returned as an empty string but i don't want it there at
all...
Steve
you can use window.location.reload(true) to reload the page from the server,
https://developer.mozilla.org/en/window.location
On Thu, Jul 14, 2011 at 2:37 PM, Eric Patrick wrote:
> That technique is workable, but a bit cumbersome in my use case. When
> a user first navigates to a Dashboard pag
That technique is workable, but a bit cumbersome in my use case. When
a user first navigates to a Dashboard page, the URI pulled would not
include the nonce parameter. Easy enough to have the 'refresh now'
command add the nonce.
However, the user will typically drill down to another page, leaving
hi i built a poster Website that uses loads of Moo... it just sells posters.
www.zip-posters.co.uk if you want to know how anything is done give me a
shout
nigel
On Wed, Jun 15, 2011 at 11:32 AM, codelish wrote:
> Hi guys,
>
> I'm getting ready to launch a little website called "Mootooled
> It"
Whenever I wish to break cache, I include a nonce GET parameter.
'&nonce=' + (new Date()).getTime()
On Jul 13, 2011 5:44 PM, "Eric Patrick" wrote:
> I have a "dashboarding" control that fetches a JSON representation of
> a SQL cube via Request.JSON. For large cubes, my control has
> options.cache
15 matches
Mail list logo