Displaying 6 results from an estimated 6 matches for "unobtrusive_javascript".
2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can
proudly present the initial release of our unobtrusive_javascript
plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in
much of the functionality in his own as-yet unreleased
unobtrusive_javascript plugin into a single plugin.
This is essentially a preview release and probably not suitable for
use on a production site just yet but we ho...
2006 Jul 21
3
Unobtrusive Javascript plugin
Hi,
I downloaded the unobtrusive_javascript pluing from this link
(http://www.lukeredpath.co.uk/index.php/2006/06/06/introducing-unobtrusive-javascript-for-rails/)
since I needed to have dynamic content in javascript (for a pop-up
menu).
Unfortunately I have been unable to make the plugin work. I followed the
instructions on the website...
2006 Dec 08
2
UJS plugin incompatible with RSpec?
...ectations/sugar.rb:13:in
`call''
/opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.4/lib/spec/expectations/sugar.rb:13:in
`_method_missing''
/opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.4/lib/spec/expectations/sugar.rb:9:in
`method_missing''
#{RAILS_ROOT}/vendor/plugins/unobtrusive_javascript/lib/tag_helper_patches.rb:17:in
`tag_options''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb:14:in
`tag''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb:47:in
`form_tag''
#{RAILS_ROOT}/app/views//acc...
2006 Aug 01
0
Unobtrusive Javascript for Rails 0.2
...cript/AJAX helpers upgraded to work in an unobtrusive
manner. Grab Unobtrusive Javascript for Rails 0.2 now!
More information:
http://www.lukeredpath.co.uk/index.php/2006/08/01/release-unobtrusive-
javascript-for-rails-02/
Subversion:
http://opensource.agileevolved.com/svn/root/rails_plugins/
unobtrusive_javascript/tags/rel-0.2
Plugin documentation:
http://opensource.agileevolved.com/unobtrusivejs/
Cheers
Luke Redpath
www.lukeredpath.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060801/db009776/attachment.html
2009 Feb 12
4
Easy RoR <-> Javascript syntax question
Hi there,
a simple n00b question:
I have that Javascript snippet on my page (see below; taken from jquery,
actually).
I want to pass it the "@cities" array from the controller. But what''s
the correct syntax, here?
See the 3rd line:
========================================
<script>
$(document).ready(function(){
var data = @cities; <---- that''s
2008 Dec 19
14
Can duplicate "back" browser function in Rails?
In Rails I have a DB Table index.html.erb view. It has 100''s of items.
When I gen via scaffold I get index, show, edit, update, etc view.
But when I page down several pages, use the "show" link and then the
"back" link I do not go back to where I was on the index view.
Instead, I go back to the TOP of the index not the place where I clicked
on the "show"