Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding innerHTML containing form
Message
De
19/10/2017 22:44:42
 
Information générale
Forum:
Javascript
Catégorie:
DHTML
Divers
Thread ID:
01655077
Message ID:
01655091
Vues:
38
>That should work.
>
>I would check the value with:
>
>
>    var val = document.getElementById("formControlId").value;
>
>
>to make sure you're looking at the right thing. It's possible you're looking at the values before they have actually been injected into the page.
>
>Also, if you're doing this in an ASP.NET Page keep in mind that there are problems with multiple forms in an ASPX page.

The problem relies on the transfer of the inner HTML content of another div. When doing so, the form objects are not recognized. They appear ok on the page. However, when entering data in them, the value being returned after is always from the original state of the input fields and not from the value I changed after the page was loaded.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform