Yes i'm afraid we still have users using IE 6 and no matter how much I scream and shout about it, we need to support them!
I've got a link which users javascript to submit a form, but for some reason this isn't working at the moment and I can't see to get to the root of the problem.
I've experienced problems with IE in the past when more than 1 element has the same ID value, but the ID of the form i'm trying to submit is unique on the page.Code:<a href="javascript:void(0);" onClick="setValue('contact_id', '12'); submitForm('contact_request', 'accept_contact_request');" title="Accept and add to contacts">Submit Form</a>
This is the code i'm using to submit the form.
Thanks,Code:function submitForm(form_id, form_action) { var form = getElement(form_id); try { if(form_action != "") { form.elements.action.value = form_action; } form.submit(); } catch(error) { alert("There was an error.\n\nThe likely cause is that you are using Internet Explorer which generally doesn't follow the rules.\n\nYou should really be using Firefox.\n\nTo get Firefox please goto http://www.getfirefox.com.\n\nThe error generated was: "+error.description); } }
Tom





Bookmarks