You might feel that this is funny article. I have given home-work for my sun-in-law of creating 99th table. He completed and gave that to me to verify then it became my problem to create 99th table and verify. Then I got this idea of creating this program.
Program Flow :
- Get inputs ( which table, what limit ) from User
- Format the table and display it
Markup :
<label>Which Math Table ?</label> <br/> <input id="MathTable" value="99" name="MathTable" type="number" min="0" step="1" pattern="\d"/><br/> <label>What is the limit</label><br/> <input id="MathLimit" value="9" name="MathLimit" type="number" min="0" step="1" pattern="\d"/><br/> <button id="MathButton" name="MathButton">Generate the table</button> <div id="MathResult"> </div>
jQuery Code :
$(function(){ $("#MathButton").click(function(){ var mtb = $("#MathTable").val(); var mtl = $("#MathLimit").val(); var myhml = ''; for(var i=1; i <= mtl; i++) { myhml = myhml + mtb +' X '+i+' = '+ (i*mtb) + '<br/>'; } $("#MathResult").html(myhml); }); $("#MathButton").click(); });
thanks for sharing an informative post with us. keep sharing like it.
ReplyDeletechrome support
Great Article android based projects
DeleteJava Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai
เว็บไซต์คาสิโนออนไลน์ที่ได้คุณภาพอับดับ 1 ของประเทศ
ReplyDeleteเป็นเว็บไซต์การพนันออนไลน์ที่มีคนมา สมัคร Gclub Royal1688
และยังมีหวยให้คุณได้เล่น สมัครหวยออนไลน์ ได้เลย
สมัครสมาชิกที่นี่ >>> Gclub Royal1688
ร่วมลงทุนสมัครเอเย่นคาสิโนกับทีมงานของเราได้เลย
Its very impressive information!
ReplyDeleteBrokerage calculator
I love this. It is soo informative. Are you also searching for cheap assignment writing help we are the best solution for you. We are best known for delivering the best services to students without having to break the bank
ReplyDelete