This might be of use to you:
http://clientside.cnet.com/docs/Browser/Browser.Extras

On Sat, Oct 4, 2008 at 7:19 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> wrote:

>
> Always hated the lack of $_GET in javascript ... so...
>
> var $_GET = {}, uri = window.location.href;
>
> if(uri.indexOf('?') > -1)
> {
>         uri.substring(uri.indexOf('?') +
> 1).split('&').each(function(element)
>         {
>                 var item = element.split('=');
>                 $_GET[decodeURIComponent(item[0])] =
> decodeURIComponent(item[1]);
>         }, this);
> }
>
>
> ------------------------------
>  View message @ http://n2.nabble.com/%24_GET-in-moo-tp1247835p1247835.html
> To start a new topic under MooTools Users, email
> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> To unsubscribe from MooTools Users, click here< (link removed) >.
>
>
>


-----
The MooTools Tutorial:  http://www.mootorial.com www.mootorial.com 
CNET Clientside:  http://clientside.cnet.com clientside.cnet.com 
-- 
View this message in context: 
http://n2.nabble.com/%24_GET-in-moo-tp1247835p1247916.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to