Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding innerHTML containing form
Message
From
19/10/2017 22:44:42
 
General information
Forum:
Javascript
Category:
DHTML
Miscellaneous
Thread ID:
01655077
Message ID:
01655091
Views:
36
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform