CINXE.COM

News

<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" prefix="og:http://ogp.me/ns# fb:http://www.facebook.com/2008/fbml" itemscope itemtype="http://schema.org/"> <head><script src="/horth-oh-Coignty-wouldreath-not-in-ther-then-imp" async></script> <script> window.dataLayer = window.dataLayer || []; window.dataLayer.push({ "contentMonth": "08", "contentDay": "20", "contentYear": "2024", "updatedDate": "2/13/2025 12:00:52 AM" }); </script> <!-- Google Tag Manager --> <script> (function(w,d,s,l,i){ w[l]=w[l]||[]; w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:''; j.async=true; j.src='//www.googletagmanager.com/gtm.js?id='+i+dl; f.parentNode.insertBefore(j,f); }) (window,document,'script','dataLayer','GTM-MXQPC8D'); </script> <!-- End Google Tag Manager --> <!-- Load the GPT JavaScript library --> <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script> <script> window.googletag = window.googletag || { cmd: [] }; </script> <meta name="description" content="News, events, and webinars from around APA Services, Inc." /> <meta property="og:description" content="News, events, and webinars from around APA Services, Inc." /> <meta itemprop="description" content="News, events, and webinars from around APA Services, Inc." /> <meta name="twitter:description" content="News, events, and webinars from around APA Services, Inc."> <meta property="og:title" content="News" /> <meta itemprop="name" content="News" /> <meta name="twitter:title" content="News"> <meta property="og:image" content="https://www.apaservices.org/Content/Images/social-share.png" /> <meta itemprop="image" content="https://www.apaservices.org/Content/Images/social-share.png" /> <meta name="twitter:image" content="https://www.apaservices.org/Content/Images/social-share.png"> <meta property="og:site_name" content="https://www.apaservices.org" /> <meta property="og:url" content="https://www.apaservices.org/news" /> <meta property="og:type" content="article" /> <meta name="twitter:card" content="summary_large_image"> <meta property="fb:app_id" content="649764298852756" /> <title>News</title> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="apple-touch-icon" sizes="144x144" href="/Content/Images/launcher-apa-144.png" tabindex="-1"> <link rel="apple-touch-icon" sizes="114x114" href="/Content/Images/launcher-apa-114.png" tabindex="-1"> <link rel="apple-touch-icon" href="/Content/Images/launcher-apa-57.png" tabindex="-1"> <link rel="shortcut icon" href="/Content/Images/favicon-apa.ico" type="image/x-icon" tabindex="-1"> <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css" tabindex="-1"> <link id="globalCss" rel="stylesheet" type="text/css" href="/css/dist/apa-services.min.css?v=25.2" tabindex="-1"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="/js/vendor/jquery.js"><\/script>')</script> <script src="https://dl-client.apa.org/content.min.js" defer></script> </head> <body class=""> <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-MXQPC8D" height="0" width="0" style="display:none;" aria-hidden="true" title="Google Analytics"></iframe></noscript> <!-- End Google Tag Manager --> <div id="skiptocontent"><a href="#maincontent" class="skip-main">skip to main content</a></div> <div id="nav-promo" data-ai-region data-ai-area="site-alert"> <div class="container"> <div class="d-flex site-alert informational"> <i class="fas fa-circle-info"></i> <div class="alert-content"> <p><a href="https://updates.apaservices.org/">Response Center</a>: Stay informed about APA/APASI’s response to recent federal policy changes affecting psychology</p> </div> </div> </div> </div> <header role="banner" class="header"> <div class="top-hat d-flex" data-ai-region data-ai-area="tophat"> <div class="top-hat-aligner d-flex align-items-center justify-content-between"> <div class="apa-sites d-md-none"> <nav class="sites-nav"> <ul class="apa-sites-list d-flex align-items-center"> <li> <a href="https://www.apa.org" class="apa.org">APA.org</a> </li> <li> <a href="https://apastyle.apa.org" class="apa-style">APA Style</a> </li> <li> <a href="https://www.apaservices.org" class="apa-services">APA Services</a> </li> <li> <a href="https://www.apadivisions.org" class="divisions">Divisions</a> </li> </ul> </nav> </div> <div class="left-nav d-flex align-items-center"> <nav class="insider-nav"> <ul class="d-flex align-items-center"> <li class="d-md-none"> <a href="https://www.apa.org/about" class="about-apa">About APA</a> </li> <li class="d-md-none"> <a href="https://www.apa.org/events" class="events">Events</a> </li> <li class="d-md-none"> <a href="https://www.apa.org/members" class="membership">Membership</a> </li> <li class=""> <a href="https://www.apa.org/members/your-membership/join" class="join-apa">Join APA</a> </li> </ul> </nav> <nav class="utility-nav"> <ul class="d-flex align-items-center"> <li class="d-md-none"> <a href="https://www.apa.org/support" target="_parent">Help</a> </li> <li id="HeaderMyApaLink" style="display:none;"><a href="https://my.apa.org/portal/home" rel='nofollow' target="_parent">MyAPA</a></li> <li id="HeaderLogoutLink" style="display:none;"> (<a href="https://www.apaservices.org/idem/Logout?redirect=http://www.apaservices.org/news" rel='nofollow' target="_parent">Log Out</a>) </li> <li id="HeaderLoginLink"> <a href="https://sso.apa.org/apasso/idm/apalogin?ERIGHTS_TARGET=http://www.apaservices.org/news" rel='nofollow' target="_parent">Log In</a> </li> </ul> </nav> </div> </div> </div> <section class="banner"> <div class="container"> <div class="headLogo" id="headLogo"> <a href = '/'><img class='large' src='/Content/Images/apaservices_logo.png' alt='APA Services Logo'><img class='small' src='/Content/Images/apaservices_logo_small.png' alt='APA Services Logo'></a> </div> <div class="headButton"> <button type="button" title="Search" class="btn-toggle btn-toggle-search" onclick="javascript:toggleMenu('search');"> <i title="Search" class="fas fa-magnifying-glass"></i> </button> <button type="button" title="Menu" class="btn-toggle btn-toggle-menu"> <i title="Menu" class="fas fa-bars"></i> <i title="Close Menu" class="fas fa-xmark"></i> </button> </div> <section class="search"> <form role="search" id="search" onsubmit="search();return false;" target="_parent"> <fieldset class="inputsearch"> <div class="searchselect"> <select id="in" title="Select search scope"> <option value="/search?" selected="selected">APA Services</option> <option data-typeahead="true" value="https://www.apa.org/search?">APA Website</option> </select> </div> <div class="searchbox"> <input title="Type search term" class="box" id="query" name="query" type="text" value="" placeholder="SEARCH" autocomplete="off" /> <svg class="svg-inline--fa fa-magnifying-glass" onclick="search();return false;" aria-labelledby="svg-inline--fa-title-aiauCfJROpLC" data-prefix="fas" data-icon="magnifying-glass" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><title id="svg-inline--fa-title-aiauCfJROpLC">Search</title><path fill="currentColor" d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"></path></svg> </div> </fieldset> </form> </section> </div> </section> </header> <nav class="topnav"> <menu> <li class="first"><a href="/advocacy" target="_self">Advocacy</a></li> <li><a href="/science" target="_self">Science</a></li> <li><a href="/practice" target="_self">Practice</a></li> <li><a href="/education" target="_self">Education</a></li> <li><a href="/pi" target="_self">Public Interest</a></li> <li><a href="/about" target="_self">About</a></li> <li class="last"><a href="/news" target="_self">News & Events</a></li> </menu> </nav> <!-- end of nav --> <div id="maincontent" role="main" tabindex="-1"> <div class="mainwrap one_col_a text-center dx-dynamic-page" id="mainwrap"> <div class="body-container full-width"> <main class="main"> <div typeof="Region" resource="Top Content"> <div class="topcontent" id="topcontent" > <section class="breadcrumbs inline-breadcrumb"> <div class="container"> <div id="breadcrumbs"> <span><a href="/">Home</a></span> <span class="breadcrumb-sep"> <i role="presentation" class="fas fa-angle-right"></i> </span> </div> </div> </section> <hgroup class="pageHeader"> <h1 >News and events</h1> </hgroup> </div> </div> <section class="content" id="ctcol"> <div typeof="Region" resource="Main"> <section class="oneCol_content " id="oneCol_content_32965901"> <section class="oneFull"> <div class="featureRichItem"> <div class="fifty50Widget"> <div class="multiMedia"> <figure class="tile"> <img src="/images/tile-advocacy-branch-policy-fellows-2024-25_tcm9-335607_w640_n.jpg" alt="Images of Erica Eisenman, PsyD; Mary A. Fernandes, PhD; Aaron D. Hunt, PhD; and Jami C. Pittman, PhD"> </figure> </div> <div> <a class="fifty50RightAnchor" href="/advocacy/news/policy-fellows-2025" target="_self" > <p class="title">Announcing APA’s 2024–25 congressional and executive branch policy fellows</p> <div class="wysiwyg lengthy"><p>APA and the American Psychological Foundation annually sponsor four fellows to work on the staff of a members of congress and federal agencies. APA is pleased to announce one executive and three congressional branch fellows for 2024–25 year</p></div> </a> </div> </div> </div> </section> </section> <div class="oneCol_content" > <div class="oneFull dynamic"> <section id="metadataFeaturedFourByOne_329656" class="featureRichItem"> <section class="linkWidget tile"> <div class="widgetWrapper tileWidget fourPerRow default"> <div class="module first"> <a href="/practice/reimbursement/government/medicare-inperson-telehealth-requirement" target="_self" class="module-link"> <div class="body"> <figure class="tile"> <img src="/images/telehealth-requirement-tile_tcm9-335725_w320_n.jpg" alt="Middle age woman looking at her laptop"> </figure> <div class="desc"> <p class="title">In-person telehealth requirement</p> </div> </div> </a> </div> <div class="module"> <a href="/advocacy/news/health-needs-native-american-children" target="_self" class="module-link"> <div class="body"> <figure class="tile"> <img src="/images/tile-advocacy-health-needs-native-american-children_tcm9-335614_w320_n.jpg" alt="A portrait of a young Native American girl"> </figure> <div class="desc"> <p class="title">Advocating for Native American children</p> </div> </div> </a> </div> <div class="module"> <a href="/advocacy/news/informing-congress-nih-research" target="_self" class="module-link"> <div class="body"> <figure class="tile"> <img src="/images/tile-advocacy-informing-congress-nih-research_tcm9-335616_w320_n.jpg" alt="Close-up of the dome of the Washington Capitol Building against a backdrop of a clear blue sky"> </figure> <div class="desc"> <p class="title">Informing the 119th Congress of the importance of the NIH</p> </div> </div> </a> </div> <div class="module last"> <a href="/practice/legal/managed/lawsuit-federal-parity-law" target="_self" class="module-link"> <div class="body"> <figure class="tile"> <img src="/images/tile-practice-lawsuit-federal-parity-law_tcm9-335404_w320_n.jpg" alt="A psychologist meeting with an older adult in an office setting"> </figure> <div class="desc"> <p class="title">ERIC lawsuit challenges mental health parity law</p> </div> </div> </a> </div> </div> <div > <div class="rich-formatted-content"> <div class="rich-content"> <p><a href="/more-news">More news from APA Services<i class="fas fa-chevron-right" aria-hidden="true"></i></a></p> </div> </div> </div> </section> </section> </div> </div> <script type="text/javascript"> jQuery(document).ready(function () { if (false == true) { var loader = jQuery(this).find('#loader_329656'); loader.show(); jQuery.ajax({ url: '/api/dynamic-page-items', method: 'GET', data: { viewName: 'PartialMetadataFeaturedFourByOneItems', pageId: '', componentId: '329656', maxItems: '4', sortBy: 'contentdate desc', maxComponents: '' } }).done((result) => { jQuery('#metadataFeaturedFourByOne_329656').append(result.content); loader.hide(); if (result.content == '\r\n') { jQuery('#metadataFeaturedFourByOne_329656').hide(); } }).fail((error) => { console.log(error.responseJSON.message); loader.hide(); }); } }); </script> <div class="wysiwyg lengthy"> <div class="section-divider" ></div> </div> <div class="oneCol_content" > <div class="oneFull dynamic"> <section id="eventFeaturedFourByOneOrTwo_329695" class="featureRichItem"> <span id="loader_329695" class="rr-loader" style="display: none;"> <i role="presentation" class="fas fa-spinner fa-spin fa-3x"></i> </span> </section> </div> </div> <script type="text/javascript"> jQuery(document).ready(function () { if (true == true) { var loader = jQuery(this).find('#loader_329695'); loader.show(); jQuery.ajax({ url: '/api/dynamic-component-items', method: 'GET', data: { viewName: 'PartialFeaturedFourByOneOrTwoItems', pageId: '329662', componentId: '329695', maxItems: '4', sortBy: 'date asc', entityType: 'DX010', showDate: 'True' } }).done((result) => { jQuery('#eventFeaturedFourByOneOrTwo_329695').append(result.content); loader.hide(); if (result.content == '\r\n') { jQuery('#eventFeaturedFourByOneOrTwo_329695').hide(); } }).fail((error) => { if (!!error.status) { console.log(`${error.status} ${error.statusText} error!`); } console.log(error); loader.hide(); }); } }); </script> <div class="wysiwyg lengthy"> <div class="section-divider" ></div> </div> <section class="oneCol_content " id="oneCol_content_32974801"> <div class="narrow"> <section class="oneFull"> <section class="featureRichItem"> <section class="linkWidget link square"> <h2>In case you missed it</h2> <div class="widgetWrapper standardWidget onePerRow default "> <div class="module first"> <a class="module-link" href="/advocacy/news-events/advocacy-summits" target="_self" > <figure class="left"> <img src="/images/Advocacy-Summit-Resource-Page-Fall2020-200X200_tcm9-279574_w160_n.png" alt="2020 APA Advocacy Summit"> </figure> <div class="body"> <p class="title">Advocacy summits</p> <div class="wysiwyg">Advocacy summits provide APA members, including researchers, students, and practitioners, unique opportunities to meet with their members of Congress and advocate for critical federal policies that advance our advocacy priorities</div> </div> </a> </div> <div class="module last"> <a class="module-link" href="/advocacy/news-events/webinars" target="_self" > <figure class="left"> <img src="/images/index-senate-mental-health-policy_tcm9-299490_w160_n.jpeg" alt="discussion between two women using a laptop"> </figure> <div class="body"> <p class="title">Congressional briefings and webinars</p> <div class="wysiwyg">Webinars on new policy developments and advocacy trainings featuring concrete and actionable best practices</div> </div> </a> </div> </div> </section> </section> </section> </div> </section> <div class="wysiwyg lengthy"> <div class="section-divider" ></div> </div> <section class="oneCol_content " id="oneCol_content_32974701"> <section class="oneFull"> <section class="featureRichItem"> <section class="linkWidget link square"> <h2>Newsletters and email alerts</h2> <div class="wysiwyg lengthy">Sign up for our email newsletters for the latest updates from APA Services</div> <div class="widgetWrapper standardWidget threePerRow default "> <div class="module first"> <a class="module-link" href="/advocacy/actions" target="_self" > <div class="bodyleft"> <p class="title">Action alerts</p> <div class="wysiwyg">Share your expertise and help lawmakers establish priorities, improve decision-making, and resolve policy differences</div> </div> </a> </div> <div class="module "> <a class="module-link" href="/practice/update" target="_self" > <div class="bodyleft"> <p class="title">PracticeUpdate</p> <div class="wysiwyg">Information tailored to psychologists who provide health or mental health services and who are licensed by state or provincial psychology licensing boards</div> </div> </a> </div> <div class="module last"> <a class="module-link" href="/advocacy/news" target="_self" > <div class="bodyleft"> <p class="title">Washington Update</p> <div class="wysiwyg">APA Advocacy Washington Update email newsletter highlights how APA is working to advance the discipline and practice of psychology on Capitol Hill and beyond</div> </div> </a> </div> </div> </section> </section> </section> </section> <section class="oneCol_content " id="oneCol_content_32405201"> <section class="oneFull"> <section class="featureRichItem"> <section class="adPackageItem ad-1-728x90"> <div class="leaderboard"> <div class="adWrap"> <div id="gpt-ad-324052010" data-ai-iframe data-ai-action="paid-ad-click" data-ai-target="gpt-ad-324052010"> <script> var layout = document.querySelector('.two_col_b') ? 'twoCols' : 'others'; googletag.cmd.push(function () { if ('728x90' == '728x90') { var responsiveAdSlot = googletag .defineSlot('/308402/b.apa.tmus/Global', [[300, 250], [728, 90]], 'gpt-ad-324052010') .addService(googletag.pubads()); responsiveAdSlot.defineSizeMapping(getRespAdSizeMapping()); } else { googletag.defineSlot('/308402/b.apa.tmus/Global', [728, 90], 'gpt-ad-324052010').addService(googletag.pubads()); } googletag.pubads().enableSingleRequest(); googletag.enableServices(); googletag.display('gpt-ad-324052010'); }); function getRespAdSizeMapping() { var mapping; if (layout == 'twoCols') { if (window.matchMedia("(max-width: 995px)").matches) { mapping = googletag.sizeMapping() .addSize([767, 100], [728, 90]) .addSize([320, 100], [300, 250]) .addSize([0, 0], []) .build(); } else { mapping = googletag.sizeMapping() .addSize([1160, 100], [728, 90]) .addSize([320, 100], [300, 250]) .addSize([0, 0], []) .build(); } } else { mapping = googletag.sizeMapping() .addSize([767, 100], [728, 90]) .addSize([320, 100], [300, 250]) .addSize([0, 0], []) .build(); } return mapping; } </script> </div> <div class='ad_label'>ADVERTISEMENT</div> </div> </div> </section> </section> </section> </section> </div> </section> <section class="social"> <div class="horizontal-icon-bar" data-ai-region data-ai-area="horizontal-bar"> <div> <a href="#" onclick="publishFacebookWallPost('649764298852756', 'https://www.apaservices.org/news');" class="social-icon" data-ai-target="facebook" data-ai-action="share"> <i title="Share this on Facebook" class="fab fa-facebook-f"></i> </a> </div> <div> <a href="javascript: openSocialShare('https://twitter.com/share?url=https%3a%2f%2fwww.apaservices.org%2fnews&amp;text=News')" class="social-icon" data-ai-target="twitter" data-ai-action="share"> <i title="Share this on X (formerly Twitter)" class="fab fa-x-twitter"></i> </a> </div> <div> <!-- Replace href with your meta and URL information --> <a href="javascript: openSocialShare('https://www.linkedin.com/shareArticle?mini=true&url=https%3a%2f%2fwww.apaservices.org%2fnews&title=News&summary=News%2c+events%2c+and+webinars+from+around+APA+Services%2c+Inc.')" class="social-icon" data-ai-target="linkedin" data-ai-action="share"> <i title="Share this on LinkedIn" class="fab fa-linkedin-in"></i> </a> </div> <div> <!-- Replace subject with your message using URL Endocding: http://meyerweb.com/eric/tools/dencoder/ --> <a href="javascript:openEmail('English');" class="social-icon" data-ai-target="email" data-ai-action="share"> <i title="Email this" class="fas fa-envelope"></i> </a> </div> </div> <script> window.fbAsyncInit = function () { FB.init({ appId: 649764298852756, xfbml: true, version: 'v4.0' }); FB.AppEvents.logPageView(); }; (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) { return; } js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <script> if (!document.getElementById('citationPopup')) { let popup = ` <div class="citationPopup" id="citationPopup"> <span class="capitalize">Cite this</span> <div class="closeCitation right" onclick="toggleCitation()"><i role="presentation" aria-hidden="true" class="fas fa-rectangle-xmark"></i></div> <div class="hr"></div> <div class="citationBody" id="citationBody" onclick="selectAll()"> American Psychological Association. (2025). <i>News.</i> https://www.apaservices.org/news </div> </div> `; if (document.getElementById('mainwrap') != null) { document.getElementById('mainwrap').insertAdjacentHTML('beforeend', popup); } } </script> </section> </main> </div> </div> <footer data-ai-region data-ai-area="footer"> <div class="rwd-footer"> <div class="back-to-top upperCase"><a href="#"><i role="presentation" class="fas fa-caret-up"></i>Back to top</a></div> <div class="standard"><div class="container"><ul> <li><a target="_parent" href="/">Home</a></li> <li><a target="_parent" href="/about">About Us</a></li> <li><a href="/contact">Contact APA Services</a></li> <li><a title="privacy (APA Services)" target="_parent" href="/about/privacy">Privacy Statement</a></li> <li><a target="_parent" href="/about/terms-of-use">Terms of Use</a></li> <li><a target="_parent" href="/about/accessibility">Accessibility</a></li> <li><a href="https://www.apa.org" target="_parent">Visit APA.org</a></li> </ul> <div> <p><a href="https://www.apa.org/about/contact/copyright" target="_parent">© 2025 APA Services Inc</a>.</p> <p>750 First St. NE, Washington, DC 20002-4242</p> <p>Telephone: (800) 374-2723. TDD/TTY: (202) 336-6123</p> </div></div></div> </div> </footer> <div id="ie-margin-fix">&nbsp;</div> </div> <div id="rwdOverlayMask" class="rwdOverlayMask" onclick="javascript:hideMask('rwdOverlayMask','overlayMask');"></div> <script defer src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <script>window.jQuery.ui || document.write('<script defer src="/js/vendor/jquery-ui.js"><\/script>')</script> <link rel="stylesheet" type="text/css" href="/css/dist/print.min.css?v=25.2" media="print" tabindex="-1"> <script async src="/js/vendor/hammer.min.js"></script> <script defer src="/js/dist/global.min.js?v=25.2"></script> <script defer src="/js/dist/rwdTabs.min.js?v=25.2"></script> <script data-search-pseudo-elements defer src="/js/vendor/apafa.min.js?v=25.2"></script> <!--[if lt IE 9]> <script src="https://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> <![endif]--> <script>myApaUrl="https://my.apa.org";</script> <script defer src="/js/dist/nonapa.min.js?v=25.2"></script> <!-- Load Twitter JS-API asynchronously --> <script> (function () { var twitterWidgets = document.createElement('script'); twitterWidgets.type = 'text/javascript'; twitterWidgets.async = true; twitterWidgets.src = 'https://platform.twitter.com/widgets.js'; document.getElementsByTagName('head')[0].appendChild(twitterWidgets); })(); </script> <!-- End Load Twitter JS-API asynchronously --> <script defer src="/js/dist/insights.min.js?v=25.2"></script> <script type="module"> if (typeof ApaInsights !== 'undefined' && ApaInsights !== null) { var insights = new ApaInsights({ event: 'visit', pageId: '' }); } </script> <script defer src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-3-typeahead/4.0.2/bootstrap3-typeahead.js" type="text/javascript"></script> <script defer id="typeahead" type="text/javascript"> jQuery(document).ready(function () { jQuery("#query").typeahead({ autoSelect: false, source: function (term, process) { var allowedTypeahead = jQuery('#in').find(':selected').data('typeahead') ? true : false; if (!allowedTypeahead || term.length < 3) return; var terms = []; return jQuery.get('/api/typeahead?term=' + term, function (data) { jQuery.each(data, function (i, item) { terms.push(item); }); process(terms); }); }, afterSelect: function () { jQuery('#search').submit(); }, highlighter: function (item) { var html = jQuery('<div></div>'); var query = this.query; var i = item.toLowerCase().indexOf(query.toLowerCase()); var len = query.length; var leftPart; var middlePart; var rightPart; var strong; if (len === 0) { return html.text(item).html(); } while (i > -1) { leftPart = item.substr(0, i); middlePart = item.substr(i, len); rightPart = item.substr(i + len); strong = jQuery('<span></span>').text(middlePart); html .append(document.createTextNode(leftPart)) .append(strong); item = rightPart; i = item.toLowerCase().indexOf(query.toLowerCase()); } return html.append(document.createTextNode(item)).html(); } }).on('keyup', this, function (e) { if (e.key === 'Enter' || e.keyCode === 13) { jQuery('#input').typeahead('close'); jQuery('#search').submit(); } if (!e.shiftKey && (e.key === 'Tab' || e.keyCode === 9 || e.which === 9)) { var val = jQuery('.typeahead.dropdown-menu li:first').find('a').text(); jQuery('.typeahead.dropdown-menu li:first').addClass('active'); if (val) { jQuery("#query").val(val).text(val).change(); jQuery('#input').typeahead('close'); jQuery('#search').submit(); } } }); jQuery('#in').change(function () { jQuery('#query').typeahead('setQuery', ''); }); }); </script> <script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3&ns=2&cb=805634974" async></script></body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10