Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Form Submission
Message
De
03/03/2004 01:54:00
 
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00882025
Message ID:
00882604
Vues:
16
Hi Gerald,

Thanks for your reply.

Well... I am working on a project where I am adding a behavior to a html textarea (see below). In the ".htc" file the contents are copied from the form element (textarea) into a div.
<textarea name="Content" style="behavior: url(behavior.htc);"></textarea>
What I want to do is when the form that the textarea is in is submitted the contents of the div are copied back to the textarea for a standard form submission; really imulating the onSubmit function but with out having onSubmit in the form tag.

So in future, when I use the behavior I only have to add:
style="behavior: url(behavior.htc);"
to a textarea.

If it helps, This only needs to work in IE.

Thanks for your interest.
Any help, as always is greatly appreciated.

Kind Regards,
Tarran Walker
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform