search for: e_dat

Displaying 4 results from an estimated 4 matches for "e_dat".

Did you mean: ecdat
2006 Aug 07
4
Problem with Pagination
Hi Guys, I am trying to paginate the results from a search. When I use actual constants in the search conditions, it works fine: def query @k2_result_pages, @k2_results = paginate (:k2_results, :conditions => [''e_date >= ? AND e_date <= ?'', ''2006-07-12'', ''2006-08-12''], :per_page => 5, :order_by => ''e_date,name'') end However, if I change it to use the POST p...
2006 Aug 06
5
Click Table Headings to Sort..
...ting a parameter called so (for sort order) to either "up" or "down" when the table header link is clicked. Right now, my working code (in a partial) looks something like this - <% if params[:v_order] == ''down'' %> <%= link_to "e_date", :action =>"list_by_edate", :v_order => "up" %> <% else %> <%= link_to "e_date", :action =>"list_by_edate", :v_order => "down" %> <% end %> the controller has the correct code for...
2008 May 22
0
Getting the datetime when using Calendar Date Select plugin in an Ajax update operation.
...ich can show a calendar on the page, now I wanna update a specific area on the page when my mouse goes over the date on the calendar. so far, the trouble is I can not fetch the datetime in an onchange event? My code is as below: <div id="calendar"> <%= calendar_date_select_tag :e_date, nil, :embedded => true, :year_range => 100, :month_year => "label", :onchange => remote_function(:update=>"events&quot...
2008 Apr 04
4
Auto Complete Problems
...website" name="agent[website]" size="30" type="text" /></td> </tr> <tr> <td class="col-1" valign="top">Date:&nbsp;</td> <td class="col-2" valign="top"><input id="e_date" name="e_date" type="text" /> <img alt="Calendar" onclick="new CalendarDateSelect( $(this).previous(), {year_range:10} );" src="/images/calendar_date_select/calendar.gif?1206211205" style="border:0px; cursor:pointer;" /><...