Title: Event manager error when using the mobile theme
Last modified: August 20, 2016

---

# Event manager error when using the mobile theme

 *  [arochford](https://wordpress.org/support/users/arochford/)
 * (@arochford)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/event-manager-error-when-using-the-mobile-theme/)
 * Using event manager if you go too my events page there is jquery error in the
   mobile version and the search will not work.

Viewing 1 replies (of 1 total)

 *  Thread Starter [arochford](https://wordpress.org/support/users/arochford/)
 * (@arochford)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/event-manager-error-when-using-the-mobile-theme/#post-2469459)
 * [http://mytrinilime.com/events](http://mytrinilime.com/events)
 * between: and
    jQuery(document).ready( function($){
 * $(‘.em-events-search-form select[name=country]’).change( function(){
 * $(‘.em-events-search select[name=state]’).html(”);
    $(‘.em-events-search select[
   name=region]’).html(”); var data = {
 * _wpnonce : ‘811ec6e55d’,
 * action : ‘search_states’,
 * country : $(this).val(),
 * return_html : true
 * };
 * $(‘.em-events-search select[name=state]’).load( EM.ajaxurl, data );
 * data.action = ‘search_regions’;
 * data._wpnonce = ‘c6dcdd3f85’;
 * $(‘.em-events-search select[name=region]’).load( EM.ajaxurl, data );
 * });
 * $(‘.em-events-search-form select[name=region]’).change( function(){
 * $(‘.em-events-search select[name=state]’).html(”);
    var data = {
 * _wpnonce : ‘811ec6e55d’,
 * action : ‘search_states’,
 * region : $(this).val(),
 * country : $(‘.em-events-search-form select[name=country]’).val(),
 * return_html : true
 * };
 * $(‘.em-events-search select[name=state]’).load( EM.ajaxurl, data );
 * });
 * //in order for this to work, you need the above classes to be present in your
   theme
 * $(‘.em-events-search-form’).submit(function(){
 * if( this.search.value==’Search Events’){
 * this.search.value = ”;
 * }
 * if( $(‘#em-wrapper .em-events-list’).length == 1 ){
 * $(this).ajaxSubmit({
 * url : EM.ajaxurl,
 * data : {
 * _wpnonce : ‘811ec6e55d’,
 * action : ‘search_states’,
 * country : $(this).val(),
 * return_html : true
 * },
 * beforeSubmit: function(form) {
 * $(‘.em-events-search-form :submit’).val(‘Searching…’);
 * },
 * success : function(responseText) {
 * $(‘.em-events-search-form :submit’).val(‘Search’);
 * $(‘#em-wrapper .em-events-list’).replaceWith(responseText);
 * }
 * });
 * }
 * });
 * });
 * Date/Time
 * Event
 * 07 Jan 2012
 * 10:00 PM to 4:00 AM
 * TRIBE ICE (Insane Cooler Experience) 2012
 * Jenny’s Car Park, Port of Spain
 * 08 Jan 2012
 * 4:00 PM to 11:00 PM
 * Trinity Soka in Moka
 * Trinity College, Maraval
 * 13 Jan 2012
 * 10:00 PM to 4:00 AM
 * Anchorage Street Party
 * Anchorage, Chagaramas
 * 14 Jan 2012
 * 12:00 AM to 12:00 AM
 * Chutney Soca Monarch Preliminaries
 * To Be Announced, Trinidad
 * 14 Jan 2012
 * 4:00 PM to 12:00 AM
 * Page 1 of 2 | Next page

Viewing 1 replies (of 1 total)

The topic ‘Event manager error when using the mobile theme’ is closed to new replies.

## Tags

 * [event-manager](https://wordpress.org/support/topic-tag/event-manager/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 1 participant
 * Last reply from: [arochford](https://wordpress.org/support/users/arochford/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/event-manager-error-when-using-the-mobile-theme/#post-2469459)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
