Form in repeat region not working in IE7
Hi all, I'm using a repeat region to display multiple records. The data is being displayed inside a form and the form submit button passes the data to a lightbox-style popup where users can read full info. This works fine on all browsers apart from IE7, where only the first submit button works. I'm guessing it's something to do with the submit button's id of 'zoomProduct' which is being duplicated and IE7 doesn't like this. I'm pretty new to JS and PHP so would be really grateful if someone could help me out with this. I'm stuck on how to increment the ID and whether this will conflict with the JS that launches the lightbox. thanks guys - simplified example of the problem here http://goo.gl/DVq2S
I would remove the zoomProduct from the submit field unless you add in the same incremented value zoomProduct1, zoomProduct2,... the same way you did with the form ID.
var url = $(this).parents('form').attr('action');
var ser = $(this).parents('form').serialize(); //alert(url+'?'+ser);
}, innerWidth:760, innerHeight:"554", iframe:true});
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)