06-12-2008, 12:26 PM
|
#21 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 1,578
Thanks: 72
|
Another one I noticed was when I was programming an upload system with no page reload. I was trying to create dynamic forms, in Internet Explorer you set the encoding type differently than you do in Firefox and other browsers.
javascript Code:
pForm = document.createElement('form'); pForm.setAttribute('method', 'post'); pForm.setAttribute('action', 'index.php'); pForm.setAttribute('enctype', 'multipart/form-data'); // Firefox, etc. pForm.setAttribute('encoding', 'multipart/form-data'); // Internet Explorer
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|