<script>
$("#mainheader").live("pagebeforeshow", function (event, ui) {
/* var markup = '동적 콘텐츠 내용입니다';
$('#test-content').html(markup); */
alert("ldkasjflkajdsfl");
var markup = /* "<div data-role=\"content\" id=\"body-content\">" + */
"<div data-role=\"fieldcontain\">" +
"<label for=\"name\">Text Input:</label>" +
"<input type=\"number\" name=\"name\" id=\"name\"/>" +
"<label for=\"password\">Password Input:</label>" +
"<input type=\"password\" name=\"password\" id=\"password\" />" +
"<a href=\"test.html\">submit</a>" +
"</div>";
//"</div>";
$('#mainbody').html(markup);
$("#mainheader").page("destroy").page();
});
</script>