• Hi,

    I’m trying to run ajax search from the header (a new section I’ve created on the right). I copied it from one header.php to another (both in the same theme- original located at theme/framework/actions, and new one is located in just the theme folder.

    I’ve copy/pasted exactly what I saw. It appears- but ajax won’t work.

    <div class="main-nav-side-search">
    						<a class="mk-search-trigger mk-toggle-trigger" href="#"><i class="mk-icon-search"></i></a>
    							<div id="mk-nav-search-wrapper" class="mk-box-to-trigger">
    							      <form method="get" id="mk-header-navside-searchform" action="http://localhost/thebaytree.com.au">
    							        <input type="text" value="" name="s" id="mk-ajax-search-input" class="ui-autocomplete-input" autocomplete="off">
    							        <i class="mk-moon-search-3 nav-side-search-icon"><input value="" type="submit"></i>
    							    </form>
    					  		<ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0" style="display: none;"></ul></div>
    					</div>

    Does my code need to “look” elsewhere for the ajax files?

The topic ‘Ajax not working in header’ is closed to new replies.