I’m trying to build me own frontend AJAX updating screen mirroring interface. I have a very basic form: <form id=”mblocation”> <input type=”radio” name=”mb_user_location” id=”mb_user_location1″ value=”1″ checked=”checked”> <label for=”mb_user_location1″> <span>in office</span> </label> <input type=”radio” name=”mb_user_location” id=”mb_user_location2″ value=”2″> <label for=”mb_user_location2″> <span>out of office</span> </label> <input type=”hidden” name=”mb_user_id” value=”1″> <input type=”hidden” id=”mb_location_nonce_field” name=”mb_location_nonce_field” value=”6b8a75521b”> <input type=”hidden” name=”_wp_http_referer” value=”/inout/”> </form> And I want to have an AJAX script run every x seconds based on what the administrators set in the options page get_option(‘mb_heartbeat_time’): function…