• 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: jQuery does not work on mobile

jQuery does not work on mobile 6 years 3 days ago #39080

Hello.
I try to add jQuery file to control my RSForm, in Script called on form display I have added this jQuery:
$url= "components/com_rsform/assets/js/MyControlRSform.js?t=".strtotime(date('Y-m-d H:i:s'));
$document->addScript($url);
Content of MyControlRSform.js :
jQuery(document).ready(function(){
    jQuery("#dropdownBox1").click(function(){
		if(jQuery("#dropdownBox1").val()!=""){
			jQuery("#dropdownBox2").children('option').hide();
			jQuery("#dropdownBox2").children("option[value='123']").show();
			jQuery("#dropdownBox2").children("option[value='456']").show();
		}
		else {}
    });
});	
MyControlRSform.js works on PC but it does not work on mobile (Safari, Android mobile browser, Chrome Mobile...)

Can you help me to fix this error?
Thank you so much!
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!