-1

I am having below requirement. Everything is working fine but when the change the year dropdown values it'senter image description here affecting the month values for another month dropdown. Can I get a solution for this?

1 Answers1

0

If you're making this in basic html, you would have

<select name="month">
  <option value="1">01</option>
  <option value="2">02</option>
  <!-- etc. etc. -->
</select>

<select name="year">
  <option value="1900">1900</option>
  <option value="1901">1901</option>
  <!-- etc. etc. -->
</select>

and those same <select> tags for the row underneath.
You would probably use html or php to fill in those <select> tags with <option> tags, so I don't see how by changing a value, some other value could change.
Thomas W
  • 32
  • 5