2012-05-28 07:24


  • php
  • javascript

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.

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.

Could anyone help me to fix this problem with the example?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享