ct5098
New Member
- Joined
- Aug 3, 2009
- Messages
- 13 (0.00/day)
Processor | AMD Phenom II 955 BE @ 3.4 GHz |
---|---|
Motherboard | MSI K9N2G Neo |
Cooling | Xigmatek heatsink |
Memory | 2 x 2GB DDR2 @ 800 MHz |
Video Card(s) | Sapphire 2GB Radeon HD 6950 |
Storage | 1TB Western Digital Black Edition |
Display(s) | Auria 25" LCD |
Case | NZXT tower |
Audio Device(s) | N/A |
Power Supply | 550 Watt |
Software | Windows 7 Home Premium 64-bit |
I'm creating a web-based inventory management system for a computer repair store. I want to have the user click a button and create a form underneath the button. If I create the form via Javascript with createElement, appendChild, etc. will I be able to access the ids within the newly created form and provide client-side validation with Javascript? Right now I'm using AJAX to get the form from a PHP script where I just echo the HTML code; then I just use innerHTML to insert the code onto the page. I can't use Javascript to validate the form the way I do it now.