Script Categories

Equivalents >>> Kb To Mb.

Have you ever been confused about the number of kilobytes in a megabyte, or vice-versa? Now you can convert between kilobytes and megabytes with ease.


Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function convert() {
if(document.KBtoMB.KB.value) {
document.KBtoMB.MB.value = eval(document.KBtoMB.KB.value / 1024);
else {
if(document.KBtoMB.MB.value) {
document.KBtoMB.KB.value = eval(document.KBtoMB.MB.value * 1024);
//  End -->
<form name="KBtoMB">
type=text name="KB" size="16">KB
<input type=button name="KBtoMBgo"  value=" < = > " onClick="convert()">
type=text name="MB" size="16">MB
<input type=reset value=" Clear ">

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).