Are you sure you're using the latest version of the
detect_timezone.js? When I was working on this I downloaded another
older version that didn't define the class jstz namespace.

On Jul 16, 10:05 am, DHAMODHARAN N <[email protected]> wrote:
> Hello friends,
>
> I forgot to 
> downloadhttps://bitbucket.org/pellepim/jstimezonedetect/downloadsdetect_timez....
>
>
>
>
>
>
>
> On Sat, Jul 16, 2011 at 2:22 PM, DHAMODHARAN N <[email protected]> wrote:
> > Hello friends,
>
> >   I am trying to get timezone in browser produce below error.
> > jstz is not defined
> > jstz.set_timezone_in_session = function () {
>
> > My code:
>
> > jstz.set_timezone_in_session = function () {
> >   $.post("/timezone/set", { timezone:
> >  jstz.determine_timezone().timezone.olson_tz } );
> > }
> > onload = jstz.set_timezone_in_session();
>
> > I am using JQuery.
>
> > If any one known about this suggestion me.
>
> >       Thanks,
> > Dhamodharan.N
>
> >> On Thu, Jul 14, 2011 at 9:15 PM, Tim Shaffer <[email protected]> wrote:
>
> >>> You can use "render :nothing => true" instead
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Ruby on Rails: Talk" group.
> >>> To view this discussion on the web visit
> >>>https://groups.google.com/d/msg/rubyonrails-talk/-/E7glokNtpDcJ.
>
> >>> 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/rubyonrails-talk?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to