I have a php page with two drop downs. One is for work location and one? for work type. Each one of those options will have a cost associated with them.
?
Project 1
I would like the cost of those be added and put in a text box called total cost. For example if work location 2 has a cost of $1 and work type 5 has a cost of $7, the cost box shoudl say $8
The? final cost will always be 4 digits, so the formatting should be
$ #,###.##
Project 2
Write an if statament that would provide a cost base don what the options are for example
If location is location 1 and work is work 1 cost will be $5
else if
? location is location 1 and work is work 2 cost will be $6
else if
? location is location 1 and work is work 3 cost will be $7
else if
? location is location 2 and work is work 1 cost will be $8
.
.
.
On project 2 just write the code assuming two options for each drop dowm.
Thank You.
## Deliverables
This is a truncated code for the page. I have taken all the unncesessary codes? out.?
All my pages use the following code for jquery.
<script type="text/javascript" src="[[login to view URL]"></script][1]>
<script type="text/javascript" src="../includes/[login to view URL]">