Sha256: 710f83afc30e47d897de77b68a5ffe31ec5a862b0e1f25620c6c3dfdb9ac55e5

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

<section class="content">
<div class="list">

</div>

<nav>
	<li><%= link_to "Add new item",
	  add_tests_ajaxes_path(),
	  :update => '.list',
	  :position => :bottom,
	  :remote => true %></li>
</nav>
</section>

<script>
$(document).ready(function(){
  $('.list').bind("ajax:success", function(evt, data, status, xhr){
      alert('hello '+status);
    })
});
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/views/tests/ajaxes/add_and_update.html.erb
guara-0.0.1.rc app/views/tests/ajaxes/add_and_update.html.erb