Skip to main content

Posts

Showing posts from 2010

JavaScript Real Time Calculation

I've been around looking for javascript that can do Real Time Calculation. javascript real time calculation, javascript real time calculation textbox. by some lucky keywords i found this code. this is exactly the code that i want. it really do the real time calculation. and it doesn't need onChange or OnBlur function. Just try it Example + = this is the javascript code <script type='text/javascript' > function startCalc(){   interval = setInterval("calc()",1); } function calc(){   one = document.autoSumForm.firstBox.value;   two = document.autoSumForm.secondBox.value;   document.autoSumForm.thirdBox.value = (one * 1) + (two * 1); } function stopCalc(){   clearInterval(interval); } </script> this is the html code <form name="autoSumForm">   <input class="right" type=text name="firstBox" value="" onFocus="startCalc();" onBlur="stopCalc();"><br>

writing again

recently after 2 years.... not touching java... ive began to learn it once again. well apparently my friends need to mastering java to get a freaking job. so i just accompany him. i was supposed to do some tutor but i cant do a god damn tutor. me. myself is always learning alone. don't know how to teach someone else to become ME. so i just decide to accompany him instead doing nothing. to make everything start, i have to get some developers kit. so we need netbeans for Development Toolkit. but i don't know how to use NetBeans and i don't know anything bout NB and i don't find any good tutorial for a very beginner in programming. so we buy books. and then again the books not for beginner but still is good enough for me. after this we found www.java2s.com. its almost like a help tools and good thing is everything is so basic and easy to understand. now we used the books from the store and for the help tools encase we don't know anything about something that comesout f