Tagged: x
-
AuthorPosts
-
January 27, 2017 at 4:14 pm #1348255
charbuschParticipantI have some javascript that is loaded for a gravity form. It does not work when X-theme is activated. I have disabled all plugins and have not found any other conflicts.
January 27, 2017 at 4:21 pm #1348262
charbuschParticipantThis reply has been marked as private.January 28, 2017 at 3:11 am #1348690
RadModeratorHi there,
Thanks for posting in. Change your javascript code to this
jQuery(document).ready(function($){ jQuery('#input_10_84').on('change', function() { //get selected value from drop down; var selectedValue = jQuery("#input_10_84").val(); var valueone =selectedValue.split('|')[0]; var valuetwo =selectedValue.split('|')[1]; var valuethree =selectedValue.split('|')[2]; var valuefour =selectedValue.split('|')[3]; var valuefive =selectedValue.split('|')[4]; var valuesix =selectedValue.split('|')[5]; var valueseven =selectedValue.split('|')[6]; //populate the last row of list with the selected drop down value jQuery("#input_81_1").val(valueone); jQuery("#input_81_2").val(valuetwo); jQuery("#input_81_3").val(valuethree); jQuery("#input_81_4").val(valuefour); jQuery("#input_81_5").val(valuesix); jQuery("#input_81_6").val(valuefive); jQuery("#input_81_9").val(valueseven); }); });Hope this helps.
January 28, 2017 at 2:15 pm #1349021
charbuschParticipantThanks so much, that did help me by taking another look at that js. I cleaned it up some more (I did need to have that :last element in there) and it works great.
January 29, 2017 at 12:17 am #1349327
RadModeratorYou’re so much welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1348255 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
