//create a label tag var label = $('', { text:"Alex"}); //append input tag to label $(label).append($('').attr({ type:'radio', name:"Alex", value:"Alex" }).insertAfter("#divid"));
var $input = $('', { type : "radio", name : "name", value : "alex" }); $("", { insertAfter: "#somediv", // (or use appendTo: to insert into it) append: [$input, "Alex"] // include our $input and also some text description });