.... Posted September 24, 2018 at 05:32 PM Share Posted September 24, 2018 at 05:32 PM Hi Alejandro, I am testing around a possible migration to Wordpress (needed for Woocommerce) from a Joomla website but i have a question related to the loading of the custom fields. In the Joomla installation i am altering the existing numeric field to a range selector with: <script type="text/javascript"> jQuery( document).ready(function() { $("#primary").css("background-color", "yellow"); $('.jr_mhi51.jrInteger').attr({ type: 'range', class: 'gradient blank', max: '5', min: '0', step: '1' }); //alert('test'); }); </script> The above code runs showing me the yellow background for #primary or the alert popup. But the custom field ".jr_mhi51.jrInteger" itself does not change after loading (which takes a small second after page load). Are the fields included by a function using lazy load or some other jQuery part which is overruling my code? Jasper Link to comment
Alejandro Posted September 24, 2018 at 06:42 PM Share Posted September 24, 2018 at 06:42 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.