I am new using jQuery. in my 1st program of jQuery, I wanted to print a table of a provided number and its answer is right. but the problem I am facing the output just flashing and goes blank. if I use an alert function, the output stays till I click on "OK".

Here is my code..

```
<html>
<head>
<title>Get Table</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script type="text/javascript">
$(document).ready(function funtable_js(){
    $("button").click(function funtable_js(){
        var numm=$("#num").val();
    if(numm!=0)
    {
        for($i=1;$i<=10;$i++)
            {
            var tbl=numm*$i;
            var ttbl=$("#out").append("<tr><td>"+tbl+"</td></tr></br>");
            }
            alert("Hello World");
    }
    else
        {
    alert("Wrong Input. Try Again With Valid Number");
        }
    });
});
</script>
</head>
<body>

<form name="table" method="">
<tr><td><input type="text" name="num" id="num"/><button onClick="funtable_js()"> Get Table </button></td></tr>
<table id="out">

</table>
</form>
</body>
</html>

```

Please help... Thank You so much to all.