everything

yes. href="" will refresh the page when clicked on. one could do href="#"
but that will still go to the top of the page by default.

On Wed, Oct 1, 2014 at 3:02 PM, Peter Fry <notifications@github.com> wrote:

> In app/views/hack_days/new.html.erb:
>
> > +<div class="center hero-unit">
> > +  <% flash.each do |key, value| %>
> > +      <div class="alert alert-<%= key %>"><%= value %></div>
> > +  <% end %>
> > +  <h1>New Vote</h1>
> > +  <%= form_tag(hack_days_path, method: "post") do %>
> > +    <%= label_tag :title, "Title"%>
> > +    <%= text_field_tag :title, "#{@title}" %>
> > +    <div id="Projects">
> > +      <%= label_tag "projects[]", "Enter the vote options below, comma seperated" %>
> > +      <% @projects.each do |string| %>
> > +        <%= label_tag "projects[]", " " %>
> > +        <%= text_field_tag "projects[]", "#{string}"%>
> > +      <% end %>
> > +    </div>
> > +    <a href="javascript:;" id="addProject">Add More Projects</a>
>
> is the href="javascript:;" really necessary vs href="" ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/immad/test-vote/pull/1/files#r18311279>.
>



-- 
Co-founder, Heyzap.com
Cell: +1 415 994 7093
Office: +1 415 369 9033
Skype: i.akhund

My Blog: http://immadsnewworld.com
Twitter: twitter.com/immad
Facebook: facebook.com/immad