jquery - Uncaught TypeError: $(...).proofreader is not a function -
wanted use joomla proofreader component, not display modal window gives error uncaught typeerror: $(...).proofreader not function
found line gives error,
<div id="proofreader_container" class="proofreader_container" style="display:none;"><?php echo $displaydata['form']; ?></div> <script> jquery(document).ready(function ($) { $('#proofreader_container').proofreader({ 'handlertype' : '<?php echo $displaydata['options']['handler']; ?>', <?php if (isset($displaydata['options']['load_form_url'])): ?> 'loadformurl' : '<?php echo $displaydata['options']['load_form_url']; ?>', <?php endif; ?> <?php if ($displaydata['options']['highlight']): ?> 'highlighttypos' : true, <?php endif; ?> 'selectionmaxlength': <?php echo $displaydata['options']['selection_limit']; ?> }, { 'reporttypo' : '<?php echo jtext::_('com_proofreader_button_report_typo', true); ?>', 'thankyou' : '<?php echo jtext::_('com_proofreader_message_thank_you', true); ?>', 'browserisnotsupported': '<?php echo jtext::_('com_proofreader_error_browser_is_not_supported', true); ?>', 'selectionistoolarge' : '<?php echo jtext::_('com_proofreader_error_too_large_text_block', true); ?>' }); }) </script>
where not written?
Comments
Post a Comment