# IE issues (go figure)

**URL:** <https://www.ruby-forum.com/t/ie-issues-go-figure/150484>\
**Category:** Rails\
**Created:** [October 9, 2008, 1:46am UTC](https://www.ruby-forum.com/t/ie-issues-go-figure/150484 "2008-10-09T01:46:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/82dd89/32.png) [@jeremy](https://www.ruby-forum.com/u/jeremy)\
**Post date:** [October 9, 2008, 1:46am UTC](https://www.ruby-forum.com/t/ie-issues-go-figure/150484/1 "2008-10-09T01:46:04Z")

</div>

So, I have this issue with IE. The code below is from my view and  
makes an ajax call to return a list of subcategories. The form works  
just dandy in Chrome/Safari, and Firefox, but IE the Submit button  
does absolutely nothing. Click it–nothing–no error, no nothing.

Anybody have an ideas?

# My view

# New Listing

\<%= error\_messages\_for :listing %\>

\<% form\_for(@listing) do |f| %\>

\<%= render :partial =\> “form”, :locals =\> {:f =\> f} %\>

\<%= f.submit "Create", :disable\_with =\> "Saving..." %\> \<%= link\_to 'Back', show\_my\_listings\_url(current\_user.id) %\>

\<% end %\>
# Form partial

\<%= f.hidden\_field :user\_id, :value =\> current\_user.id %\>

**Name**  
 \<%= f.text\_field :name %\>

**Category:**  
 \<% form\_tag "", :id=\>"categories" do %\> \<% for category in @categories %\> \<% if @listing.category %\> \<% if @listing.category.parent == category %\> \<%= radio\_button "category", :category\_id, category.id, :checked =\> true %\> \<%= category.name %\>  
 \<% else %\> \<%= radio\_button "category", :category\_id, category.id %\> \<%= category.name %\>  
 \<% end %\> \<% else %\> \<%= radio\_button "category", :category\_id, category.id %\> \<%= category.name %\>  
 \<% end %\> \<% end %\> \<% end %\>

**Subcategory:**

 \<%= render :partial =\> "categories/subcategories", :locals =\> {:subcategories =\> @subcategories} %\> 

\<%= observe\_form :categories,  
:frequency =\> 0.5,  
:url =\> { :controller =\> “categories”, :action =\>  
“ajax\_subcategories” } %\>

**Gender:**  
 \<%= f.radio\_button :gender, "Male" %\> Male \<%= f.radio\_button :gender, "Female" %\> Female

**Location:**  
 \<%= f.text\_field :location, :value =\> current\_user.location %\>

**Price**  
 \<%= f.text\_field :price %\>

**Description**  
 \<%= f.text\_area :description %\>
