This project is read-only.


Hooking Form Submit issues


In the constructor of the add-on (InformationCard.xml) you search for the form containing the 'object'. If it's not find OK, but if it's found you hook up to its submit event. The problem is that if I modify the DOM - remove the 'object' outside the form the cardspace selector is still triggered on submit. My point is to look for the form (and hook to its submission) after the user has selected a card. It's done this way in IE.
Closed Jan 7, 2010 at 1:08 PM by ignisvulpis
died of age


gserack wrote Apr 20, 2007 at 5:39 PM

So, you add the <object> tag to the form, and then remove it programatically?

Why would you do that? It doesn't need to be in a form anyway.

Certainly, the event handler could verify the <object> is still in the form before submission, but it's still odd.


wrote Jan 7, 2010 at 1:08 PM

wrote Feb 2, 2013 at 3:32 AM

wrote May 14, 2013 at 8:52 PM