# Attachment\_fu does not work with internet explorer?

**URL:** <https://www.ruby-forum.com/t/attachment-fu-does-not-work-with-internet-explorer/135239>\
**Category:** Rails\
**Created:** [April 19, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/attachment-fu-does-not-work-with-internet-explorer/135239 "2008-04-19T17:33:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![silkodyssey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silkodyssey](https://www.ruby-forum.com/u/silkodyssey)\
**Post date:** [April 19, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/attachment-fu-does-not-work-with-internet-explorer/135239/1 "2008-04-19T17:33:46Z")

</div>

I am having a problem with Attachment\_fu. I have some code that’s based  
on the code from the Mark Clark tutorial. Everything works fine on  
firefox but on Internet Explorer it doesn’t. I click the upload button  
and nothing happens. There is no error and it seems no processing takes  
place. The development log seems to comfirm this. Any idea what is the  
problem? I am using ruby 1.8.6 and rails 2.0.2.

---

<div class="post-metadata">

**Author:** ![silkodyssey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silkodyssey](https://www.ruby-forum.com/u/silkodyssey)\
**Post date:** [April 20, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/attachment-fu-does-not-work-with-internet-explorer/135239/2 "2008-04-20T15:05:04Z")

</div>

> Everything works fine on firefox but on Internet Explorer it doesn’t. I click the upload button  
> and nothing happens. There is no error and it seems no processing takes  
> place.

So it seems the form is never even submitted? Could you post the  
relevant form HTML your view creates?

Jan

---

<div class="post-metadata">

**Author:** ![silkodyssey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silkodyssey](https://www.ruby-forum.com/u/silkodyssey)\
**Post date:** [April 20, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/attachment-fu-does-not-work-with-internet-explorer/135239/3 "2008-04-20T20:31:45Z")

</div>

Jan-Christian F. wrote:

> > Everything works fine on firefox but on Internet Explorer it doesn’t. I click the upload button  
> > and nothing happens. There is no error and it seems no processing takes  
> > place.
> 
> So it seems the form is never even submitted? Could you post the  
> relevant form HTML your view creates?
> 
> Jan

The erb file is:

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

### Fotos Agregados
 \<%= render :partial =\> 'thumbpic', :collection =\> @thumbpics unless @thumbpics.nil? == true %\> \</div

\<% form\_for(:photo, :html =\> { :multipart =\> true }) do |f| -%\>

Cargar Foto: \<%= f.file\_field :uploaded\_data %\>

\<%= submit\_tag 'Cargar' %\>

\<%= link\_to ‘Terminar’, :controller =\> ‘apartments’, :action =\> ‘list’  
%\>  
\<% end -%\>

The generated html is:

Alojamientos Puebla

Conectado:  
kelvin  
_[(Logout)](https://www.ruby-forum.com/account/logout)_

 Alojamientos Puebla

- [Inicio](https://www.ruby-forum.com/apartments/list) 
- [Publicar Anuncio](https://www.ruby-forum.com/apartments/new)
- Mi Perfil
- Contacto

\</div

Cargar Foto:

[Terminar](https://www.ruby-forum.com/apartments/list)

Alojamientos Puebla © 2008

---

<div class="post-metadata">

**Author:** ![silkodyssey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silkodyssey](https://www.ruby-forum.com/u/silkodyssey)\
**Post date:** [April 20, 2008, 8:45pm UTC](https://www.ruby-forum.com/t/attachment-fu-does-not-work-with-internet-explorer/135239/4 "2008-04-20T20:45:27Z")

</div>

I’ve found the problem. Thanks. I was missing a ‘\>’ for one of my  
closing div tags.
