Sha256: 07f2f5c2ab080fcc960bfcb4641b106adbf52ef9ce9ed9b709b00c127535f595
Contents?: true
Size: 455 Bytes
Versions: 8
Compression:
Stored size: 455 Bytes
Contents
# encoding: utf-8 module Caterpillar::JunitHelper def xhr_onclick_tag # :nodoc: button_to_remote('send onclick POST', :update => 'onclick_resp', :url => { :action => :xhr_hello }) +\ '<div id="onclick_resp"></div>' end def xhr_form_tag # :nodoc: form_remote_tag( :update => 'form_resp', :url => { :action => :xhr_hello }) do '<div>' + submit_tag('send form POST') + '</div>' end '<div id="form_resp"></div>' end end
Version data entries
8 entries across 8 versions & 1 rubygems