Shows an item.
Parameters:
formData=[{type: "input", label: "Login"}, {type: "input", label: "Password"}, {type: "button", name:"loginButton", value: "Log in", command:"Login"}, {type: "button", name:"logoutButton", value: "Log out", command:"Logout"}]; myForm = new dhtmlXForm("myForm", formData); ... function hideLoginButton() { alert("You have logged in successfully."); myForm.showItem("logoutButton"); myForm.hideItem("loginButton"); }
See also: