This is my php & html code for show numbers in words. this works correctly <input type="text" value="<?php include("number_words.php"); echo convert_number_to_words(123); ?>" size="70" readonly="readonly" />
this is my final total amount html code <input type="text" name="totalamount" id="totalamount" size="8" readonly="readonly" />
.
here i am doing convert numbers into words. but i want to do if user onkeyup on totalamount input field then only it will show the words. echo convert_number_to_words(how to pass the value from totalamount to here);