var textval =$(
"#text_id"
).attr(
"value"
);
var textval =$(
"#text_id"
).val();
var valraio =$(
"input[type=raio]:checked"
).val();
var item =$(
'input[name=items]:checked'
).val();
var checkboxval =$(
"#checkbox_id"
).attr(
"value"
);
var selectval =$(
"#select_id"
).val();
$(
"#text_id"
).attr(
"value"
,
''
);
$(
"#text_id"
).attr(
"value"
,
'test'
);
$(
"#chk_id"
).attr(
"checked"
,
''
);
$(
"#chk_id"
).attr(
"checked"
,
true
);
if
($(
"#chk_id"
).attr(
'checked'
)==
true
)
$(
"input[type=radio]"
).attr(
"checked"
,
'2'
)
$(
"select_id"
).attr(
"value"
,
'test'
);
$(
"test2"
).appendTo(
"#select_id"
)
$(
"#select_id"
).empty();
var item =$(
'input[name=items]:checked'
).val();
var item =$(
"select[name=items] option:selected"
).text();
$(
'#select_id'
)[
0
].selectedIndex=
1
;
$(
'input[name=items]'
).get(
1
).checked=
true
;
$(
"form"
).each(function(){
.reset();
});