What is the proper syntax for creating multiple HTML elements with jQuery when using the JSON format? For example...
inputs = $("<select/>", {
html: list,
id: 'select'+siteNumber+''+x+'',
name: 'select'+siteNumber+'['+x+']'
});
creates a select input, but I have about 6 other input fields (of different types, not just submit) that I want to store in the inputs variable. How can I put more than one element into the variable?
Thanks very much.