Displaying 1 result from an estimated 1 matches for "expense_session_new_edit_content".
2010 Nov 17
1
How to enable div that was hide using JQuery
...again while we try to open the new content immediately after closing the
"New content"
* The above said works fine only while we refresh the page
How to resolve it ?
For example
<%= link_to_remote (''New'', :url =>
new_expense_expense_session_path,:update=>"expense_session_new_edit_content")
%>
<div id="expense_session_new_edit_content"></div>
<a href=''#'' id=''close_session''>close</a>
<script type="text/javascript">
$(document).ready(function() {
$(''a#close_session'').click(...