Hiding and Unhide any controls using java script
- Requirements: Adobe Dreamweaver any PHP/html editor
- Programming Level: Moderate
- Language: Java Script
HTML Programming is the basic programming that you should learn before trying to learn any Dynamic Page Creation, like asp, php, aspx, cold fusion, jsp, Oracle Application Server. These server scripting makes web pages dynamically produce and sent to client computer. In relation with this scripts, a client scripting maybe use to make pages more interactive in the user’s point of view before pages be sent back to the server by two types of action, POST and GET. In this article I am going to show you how Java script be use to modify control’s properties at runtime. I am going to use the html button control to interactively access its properties.
Sample Java Script:
Java Script uses document.getElementById() to create handle for the two buttons the style propeties is being use to access sub properties visibility, this sample has been test in IE and Firefox browsers and I don’t think that it won’t work for others browser too.
If you find this article useful, please rate this article below or post a comment on this article….
Hide and Unhide controls Using Java Script,