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