Return to Snippet

Revision: 21480
at December 14, 2009 14:24 by tenpaiyomi


Initial Code
page << "if($('some_div').visible()){"
	page['some_div'].replace :partial => 'some_partial'
page << '}else{'
	page.insert_html :after, 'something_else', :partial => 'header'
page << '}'

Initial URL

                                

Initial Description

                                

Initial Title
Conditional RJS

Initial Tags
textmate, rails

Initial Language
Other