Simple php/javascript project
$30-100 USD
Pago na entrega
Require an extremly simple bit of code.
I want three text boxes on a html page.
When you select an option from box 1, it updates box 2 with selections specific to box 1, then the same for box 3 with options available as a result of the selection from box 2.
So selections in box 1 would be an array of 5 options. Selections in box 2, would be a multi-dimensional array of 10 options, specific to each of the 5 options and box 3 would be 5 options, specific to the 10x5 possibilities .
e.g.
$options1[0] = "Select me";
$options1[1] = "Orange";
$options1[2] = "Blue";
$options2[0][0] = "Select me";
$options2[1][1] = "Orange Tree";
$options2[1][2] = "Orange Dog";
$options2[1][3] = "Orange Cat";
$options2[2][1] = "Blue Tree";
$options2[2][2] = "Blue Dog";
$options2[2][3] = "Blue Cat";
When the user changes an option, it must automatically update the other boxes, without refreshing the page.
All code must be in html, php and javascript.
ID do Projeto: #3671285