Friday, 2 March 2012

how to append a value in jquery

<script type="text/javascript">
    $(document).ready
(
function () {
    $("#btn").click
(
function () {
    $("#dv").append($("#tb").val() + "<hr>" + "<br>")
    return false
}

)
}
)
</script>

No comments:

Post a Comment