Get the value in the textbox automatically when clicking an item in dropdown
<p>I have a text box and dropdown list box. In dropdown list box i'm having the list of equipments which are having the different price according to the equipment. User take the equipment for the rent for the num of days. Now I calculate the price for the rent using php function. </p>

<p>Now all I want is, to display that respected calculated value at the text box while clicking the respective item in a dropdown list box by calling that function in the html form using php.</p>

<p>Could anyone help me to fix this problem with the example?</p>
