Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamically create checkbox and label Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamically create checkbox and label" Watch "Dynamically create checkbox and label" New topic
Author

Dynamically create checkbox and label

Ravi Kotha
Ranch Hand

Joined: Mar 02, 2006
Posts: 53
Hi all,

I have a task. I am getting a xml reponse from backend, which are "<device name="label1" >" tags. I have to create a check box and a label for each <device> tag. How can I do that using Javascript and HTML. I have the option to use AJAX. Any ideas??
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
look into document.createElement

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically create checkbox and label
 
Similar Threads
position a div under a label in any part of the page
Overwriting deployment descriptor using PHP
Help with Struts 2 Dojo Tree Widget
Help extracting text out of a response
How to create a multiple line JLabel.