• 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: Changing button attribute by selecting dropdwon

Changing button attribute by selecting dropdwon 9 years 1 month ago #34485

i have dropdown populating data from database, and depend on my dropdown selection i want to change button attribute (data-uk-modal="{target:'#modal-'value of selected dropdown'}")

i tried below code but its now working:
<script type="text/javascript">
jQuery(document).ready(function($) {
$('#Floor').on('change', function(e) {
 
    $('#fp_aa1_b1').data("uk-modal", "{target:'#modal-"+ this.selectedIndex +"'}");
});
});
</script>

Thanks.
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!