I want to automatically select one of the options of the second & third dropdowns automatically once the user changes the first one.
<body>
<h1>Hello AMPHTML World!</h1>
<label for="color">Color</label>
<select name="color" id="color" on="change:size.focus">
<option disabled selected></option>
<option value="blue">blue</option>
<option value="red">red</option>
<option value="green">green</option>
</select>
<label for="size">Size</label>
<select name="size" id="size">
<option disabled selected></option>
<option value="small">small</option>
<option value="medium">medium</option>
<option value="big">big</option>
</select>
<label for="material">Material</label>
<select name="material" id="material">
<option disabled selected></option>
<option value="paper">paper</option>
<option value="plastic">plastic</option>
<option value="wood">wood</option>
</select>
</body>
So far, I only found the action focus but it would be great to have something like select(value=small). Any idea or workaround? Thanks!