paragraphs in jquery code
-
I have plugin version 4.0.9
woocommerce version 2.6.4
wordpress version 4.6
my website is laughterwellness.com.auI’m getting javascript errors in the checkout page, because some paragraph and line break html is being put into some javascript code.
The section of code is below.
Note that in the javascript after “Additional section: Select options”
there is a “</p><p>” in the javascript function.
It looks like that bit of code is being passed to wordpress to add in linebreaks and paragraphs, when it shouldn’t be.<div class=”woocommerce”><!– Additional section: Checkbox –>
<script type=”text/javascript”>
jQuery(document).ready(function($){
});
</script>
<!– Additional section: Select options –>
<script type=”text/javascript”>
jQuery(document).ready(function($){</p>
<p>});
</script>
<!– Additional section: Radio buttons –>
<script type=”text/javascript”>
jQuery(document).ready(function($){</p>
<p>});
</script>
<!– Billing section: Checkbox –>
<script type=”text/javascript”>
jQuery(document).ready(function($){
});
</script>
<!– Billing section: Select options –>
<script type=”text/javascript”>
jQuery(document).ready(function($){</p>
<p>});
</script>
<!– Billing section: Radio buttons –>
<script type=”text/javascript”>
jQuery(document).ready(function($){</p>
<p>});
</script>
<div class=”woocommerce-info”>Returning customer? Click here to login</div>Thanks for your help.
Lauhttps://www.ads-software.com/plugins/woocommerce-checkout-manager/
- The topic ‘paragraphs in jquery code’ is closed to new replies.