• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Clear a Selection - How?

Clear a Selection - How? 16 years 6 months ago #5476

  • masgian
  • masgian's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
I have two dropdowns. I need when something is selected in one, to clear the selection in the other one.

Any help please?

Thanks
The administrator has disabled public write access.

Re:Clear a Selection - How? 16 years 6 months ago #5478

  • masgian
  • masgian's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
C'mon... nobody?
The administrator has disabled public write access.

Re:Clear a Selection - How? 16 years 5 months ago #5553

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,

Setup 2 dropdowns. I named mine \"dropdown1\" and \"dropdown2\". On the additional attributes field, I've written:
onchange=\"document.getElementById('dropdown2').options.selectedIndex = 0;\"
for dropdown1, and
onchange=\"document.getElementById('dropdown1').options.selectedIndex = 0;\"
for dropdown2.

Remember, you need to have at least 1 item for each dropdown in order for this to work!
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!