• The footer.php in the root directory has a script tag in it. That script tag makes a common issue. They use $ to represent jquery. This is not acceptable (as is) in wordpress, as wordpress doesn’t define this by default. The $ has to change to a ‘jquery’ or you need to pass it as a param in a function.

    			<script type='text/javascript'>
    			jquery.ajax({
    							url: dsidxAjaxHandler.ajaxurl,
    							type: 'post',
    							data: {
    								'action':'dsidx_client_assist',
    								'dsidx_action': 'LoadDisclaimerAsync',
    								'params': '{$paramsToJS}'									
    							},								
    							success: function(response){
    								jquery('#{$disclaimerPlaceholderID}').replaceWith(response);		
    							},
    							error: function(response){
    									jquery('#{$disclaimerPlaceholderID}').replaceWith(response);
    							}
    						});
    		</script>		
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Michael

    (@mgparisi)

    *** correction: the code above needs “jQuery” instead of “jquery”

    Hey there @mgparisi

    Apologies as I missed your posts. Our developers did see your posts, though, and are working on resolutions.

    We have a release going out next month which will address these issues.

    Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in Javascript; Includes Fix’ is closed to new replies.