<script type="text/javascript">
var str; for(var i=1;i<10;i++) { for(j=1;j<=i;j++) { document.write(i+"*"+j+"="+i*j+" ");
} document.write("<br/>")}