[Rails] Re: Rails/JavaScript issue

2010-05-23 Thread John Merlino
In my initial post, I did say there was an element with an id of tabs,
but that it was part of another page and not the page the error occured
on. However,the same js file is being used for both pages. So that's the
issue I'm trying to resolve here.
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



Re: [Rails] Re: Rails/JavaScript issue

2010-05-23 Thread Hassan Schroeder
On Sun, May 23, 2010 at 3:27 PM, John Merlino li...@ruby-forum.com wrote:
 In my initial post, I did say there was an element with an id of tabs,
 but that it was part of another page and not the page the error occured
 on. However,the same js file is being used for both pages. So that's the
 issue I'm trying to resolve here.

Yes, and I just explained how to do that. More than one way, actually.

And it still has nothing to do with Rails :-)

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Re: Rails/JavaScript issue

2010-05-23 Thread John Merlino
Also I don't think the getElementById() method was around in 1997.
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



Re: [Rails] Re: Rails/JavaScript issue

2010-05-23 Thread Hassan Schroeder
On Sun, May 23, 2010 at 3:31 PM, John Merlino li...@ruby-forum.com wrote:
 Also I don't think the getElementById() method was around in 1997.

? Uh, well. I explicitly referenced the line

 window.onload = init;

so, that has what now to do with getElementById ?  :-)

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.