<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Tiêu đề</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(function(){
    $('p').append($('input').map(function(){
         return this.id;
    }).get().join(", "));
});
</script>
</head>

<body>
<p>Value: </p>
<input type="text" id="text01" />
<input type="text" id="text02" />
<input type="text" id="text03" />
<input type="text" id="text04" />
</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.