I have a php site that has text boxes in a form. I want to be able to type in the text box "=4*6" or "=5/12*30" with out the quotes and have it calculate the formula in the box. I know how to call a onchange on the text box to a javascirpt function but I am unsure how to have it read the formula. I have googled math for javascript and php and i have not found anything other than predetermined numbers and equation symbols. Any Help Appreciated.
Thank You