loadStructHTML

loads dhtmlxForm from HTML form structure

void loadStructHTML(string el);

Parameters

elstringthe id of an HTML form

Example

// HTML form 
<form id="form1" style="display:none">
    <ul>
        <li ftype="input" value="Patricia D. Rossi">Full Name</li>
        <li ftype="password" value="123">Password</li>
        <li ftype="password" value="123">Confirm Password</li>
        <li ftype="checkbox">Subscribe on news</li>
    </ul>   
</form>
 
 
// loading structure of the HTML form with the id "form1"
myForm.loadStructHTML("form1");

See also
  • Articles
  • Change log

    added in version 5.1

    Back to top