<div class="content-wrap content-column">
<%= semantic_form_for :search,:remote=>true, :url=>search_home_index_path, :html=>{:id=>"search_form",:class=>"navbar-search", :method=>'get'} do |f| %>
<%= f.input :query, :input_html => { :name => 'query' } , :label=>false, :class=>"search-query" %>
<% end %>
<script>
$( document ).ready(function() {
$("#search_query").bind("keyup", function(event){
 $("#search_form").submit();
});
$("#search_query").value="df"
});
</script>
<div id="searchresults">
<%= render :partial=>"home/search_results" %>
</div>

</div>
