text: using javascript accept any number in text box. display its prime factors?   var intvalue = 57;     while( intvalue > 1) {       for( var intnumber = 2; intnumber <= intvalue; intnumber++) {          if( intvalue % intnumber == 0) {             returnvalue += intnumber + " ";             intvalue /= intnumber;             break;          }       }    }