I am having a trouble in jqm function
<span class="smaller gray">[ <span class="blueonly"><a href="javascript:void(0)" rel="nofollow" onclick="javascript:jQuery(\'#saved_search_modal\').jqm({modal: false}).jqmShow();" >' . $phrase['_save_as_favorite_search'] . '</a></span> ]</span>';
According to the above function when I click the Save search link it throws an error showing:
jQuery("#saved_search_modal").jqm is not a function
Why is it so… Can anyone suggest please?
Try this