Or could use the URI class and getData
http://mootools.net/docs/more/Native/URI#URI:getData

var data = (new URI(window.location.href)).getData();

Michal.

On Mon, May 17, 2010 at 2:17 PM, Oskar Krawczyk
<[email protected]> wrote:
> Or something like this: http://jsfiddle.net/RFqJq/
>
> ___
>
> Oskar Krawczyk
> http://nouincolor.com
>
>
> On Mon, May 17, 2010 at 2:13 PM, Thierry bela nanga <[email protected]>
> wrote:
>>
>> do you mean window.location.search ?
>> https://developer.mozilla.org/en/DOM/window.location
>>
>> On Mon, May 17, 2010 at 1:18 PM, brook <[email protected]> wrote:
>>>
>>> hey - I am wanting to get a url variable (equivalent of php´s $_GET).
>>> i can write a little script to do this but i had just assumed there
>>> was a built in function.
>>>
>>> i cant find it.  is there? am i being dumb?
>>>
>>> cheers.b
>>
>>
>>
>> --
>> http://tbela99.blogspot.com/
>>
>> fax : (+33) 08 26 51 94 51
>
>

Reply via email to