Keys '9', 'o', 'L', '.' do not work (2024)

  • Sign up
  • ·
  • Sign in
  • Sign up / Sign in
  • ×

    Information

    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more

    Information

    Need Windows 11 help?

    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.

  • ×

    Information

    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more

    Information

    Need Windows 11 help?

    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.

  • HP Community
  • Notebooks
  • Notebook Hardware and Upgrade Questions
  • Keys '9', 'o', 'L', '.' do not work

Keys '9', 'o', 'L', '.' do not work

Options

  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page

turn on suggested results

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Search instead for

Did you mean:

Start a conversation

Keys '9', 'o', 'L', '.' do not work (3)

Guidelines

We have new content about Hotkey issue, Click here to check it out!

Keys '9', 'o', 'L', '.' do not work (4)

Create an account on the HP Community to personalize your profile and ask a question

Your account also allows you to connect with HP support faster, access a personal dashboard to manage all of your devices in one place, view warranty information, case status and more.

Sign in / Create an account

Learn more

Sign in / Create an account / Learn more

Common problems for Battery

We would like to share some of the most frequently asked questions about: Battery Reports, Hold a charge, Test and Calibrating Battery . Check out this link: Is your notebook plugged in and not charging?

Keys '9', 'o', 'L', '.' do not work (5)

It has been a while since anyone has replied. Simply ask a new question if you would like to start the discussion again.

Keys '9', 'o', 'L', '.' do not work (6)

duygu1

2 0 0

2,854

New member

‎08-13-202011:15 AM - edited ‎08-13-202011:19 AM

Keys '9', 'o', 'L', '.' do not work (7) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

Product: HP Spectre x360 Convertible 13

Operating System: Microsoft Windows 10 (64-bit)

Hello,

I haveHP Spectre x360 Convertible 13 and I got it last September so it's fairly new. I had other issues upon buying this laptop, I have found a solution for all others but this one persists. So about a month ago, out of nowhere, keys'9', 'o', 'L', '.' stopped working. I have Swedish keyboard layout so I can say they are almost on the same line. But I can also say with all certainty, no liquid has been dropped. Also, keys f9, f10, f11 and f12 do not work. But I am not sure if this has happened at the same time or later as I don't really use these keys, I had just noticed that they don't work either. Sometimes they start working all normal for a while, especially if I uninstalled drivers (not always) but most of the time, they don't. And ofc, I am not sure if this is a hardware issue, I am hoping it is not.

What can I do, what shoud I try before taking it to the service? Any help would be appreciated. It's quite annoying to have a brand-new laptop with endless issues.

Tags (3)

  • Tags:
  • HP Spectre x360 Convertible 13
  • Microsoft Windows 10 (64-bit)
  • wrk

View All (3)

3 people had the same question

I have the same question

3 REPLIES 3

Keys '9', 'o', 'L', '.' do not work (8)

Keys '9', 'o', 'L', '.' do not work (9)The_Fossette

29,212 2,774 1,983

2,786

HP Support Agent

‎08-16-202009:21 AM

Keys '9', 'o', 'L', '.' do not work (10) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

@duygu1

I reviewed your post and I understand that the keyboard is not working on the computer.

Don’t worry, I assure you I will try my best to get this sorted.

I recommend you run a keyboard test following the steps in the below article to make sure whether it is hardware or a software issue.

https://support.hp.com/in-en/document/c03467259

If the keyboard test pass, then uninstall the keyboard driver from device manager and then restart the computer and check.

Here is how it is done.

  1. Type "Device Manager" into the search field to open the device manager console.
  2. Expand the node that represents the type of device that you want to uninstall, right-click the device entry, and clickUninstall.
  3. On theConfirm Device Removaldialog box, clickOKto start the uninstall process.
  4. When the uninstall process is complete, remove the device.

NOTE: On theConfirm Device Removaldialog box, click theDelete the driver software for this deviceoption to delete the driver package that was used for the device.

Let me know how it goes and you have a great day!

P.S: Welcome to the HP Support Community 😊

If you wish to show appreciation for my efforts, mark my post as Accept as Solution. Your feedback counts!

Cheers!

Stay Home – Stay Safe

The_Fossette
I am an HP Employee

Was this reply helpful?YesNo

Keys '9', 'o', 'L', '.' do not work (11)

duygu1

Author

2 0 0

2,774

New member

‎08-17-202005:21 AM

Keys '9', 'o', 'L', '.' do not work (12) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

Hi,

Thanks for the help. I have ran the both fast and extensive tests and it all passed. However, I don't think they include any keyboard test? At least there isn't any mention of it. But then I ran the keyboard test from the component tests and it failed as it should because like I said, some keys just don't work at all. And it doesn't really give me any solution. This is what it says:

Keys '9', 'o', 'L', '.' do not work (13)

I should add here again, laptop wasn't damaged. No liquid, no fall or nothing similar. It just stopped working one day.

I have done uninstalling drivers many times before. Sometimes after a restart those keys start working for a while but then stop again.Sometimes, nothing happens after uninstalling the drivers.

Thanks!

Was this reply helpful?YesNo

Keys '9', 'o', 'L', '.' do not work (14)

Keys '9', 'o', 'L', '.' do not work (15)The_Fossette

29,212 2,774 1,983

2,752

HP Support Agent

‎08-18-202001:51 PM

Keys '9', 'o', 'L', '.' do not work (16) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

@duygu1

I recommend you contact support as it looks like a hardware issue and they will assist you with the available service options for your computer.

Here is how you can get in touch with support.

1)Click on this link – www.hp.com/contacthp/

2)Select the product type.

3)Enter the serial number of your device or select let HP detect your product option.

4)Select the country from the drop-down.

5)You should see the HP phone support number or Chat option listed.

If you wish to show appreciation for my efforts, mark my post as Accept as Solution. Your feedback counts!

Cheers!

Stay Home – Stay Safe

The_Fossette
I am an HP Employee

Was this reply helpful?YesNo

Keys '9', 'o', 'L', '.' do not work (17)

Be alert for scammers posting fake support phone numbers and/or email addresses on the community.

If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.

Keys '9', 'o', 'L', '.' do not work (18)

  • English

    Open Menu
    • English

    • Español

    • Português

    • 中文

Keys '9', 'o', 'L', '.' do not work (19)

Didn't find what you were looking for? Ask the community

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.

"); } },500) }); })(LITHIUM.jQuery); var btn = $('.backToTopButton');$(window).scroll(function() { if ($(window).scrollTop() > 300) { btn.addClass('show'); } else { btn.removeClass('show'); }});btn.on('click', function(e) { e.preventDefault(); $('html, body').animate({scrollTop:0}, '300');}); (function($) { $(document).ready(function(){ $(window).scroll(function() { var s = $(".lia-top-quilt > .lia-quilt-row.lia-quilt-row-header:first-child"); var p = s.find(".lia-quilt-row-custom-header"); var top = s.offset().top; var scroll = $(window).scrollTop(); if (scroll >= 400) { $(".ask-common-wrap").addClass("footer-fixed"); } else { $(".ask-common-wrap").removeClass("footer-fixed"); } if ( scroll >= top ) { if (!(p.parent().hasClass("custom-header-background"))) { p.wrap("

"); } var backgroundDiv = p.parent(); var placeholderDiv = backgroundDiv.parent(); parentHeight = backgroundDiv.outerHeight(); placeholderDiv.css('min-height', parentHeight+'px'); backgroundDiv.addClass("stick"); } else { if(p.parent().hasClass("custom-header-background")) { p.unwrap(); } if(p.parent().hasClass("custom-header-placeholder")) { p.unwrap(); } } }); }); })(LITHIUM.jQuery);;(function($){// Workaround for survey - Part 2 function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } async function surveyManualTrigger() { if (QSI.API) { await sleep(65000); QSI.API.run() } else {} } window.addEventListener("qsi_js_loaded", surveyManualTrigger, false);// Workaround for survey - Part 2 - END})(LITHIUM.jQuery);;function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^]*)"), results = regex.exec(location.search); return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));}(function($) {$("#markMessageAsAcceptedSolutionSecondaryButton").click(function(e){localStorage['accepted-solution-clicked'] = true;});var hpmmd=window.hpmmd||{type: 'Cleansheet Wash', page:{events:[]}, product:{},user:{},legacy:{},promo:{},search:{}};hpmmd.page.site = 'csf';hpmmd.page.name = 'ForumTopicPage'; hpmmd.page.section = 'Notebooks';hpmmd.page.subsection = 'Notebook Hardware and Upgrade Questions';hpmmd.page.content_id = ''; if (LITHIUM.CommunityJsonObject.WebTracking.Activities && LITHIUM.CommunityJsonObject.WebTracking.Activities.UserMessageEvent) { hpmmd.page.page_action = LITHIUM.CommunityJsonObject.WebTracking.Activities.UserMessageEvent.replace("tracking.message.","")+" "+'forum'; hpmmd.page.content_id = ''; } if(localStorage['accepted-solution-clicked']){ localStorage.removeItem("accepted-solution-clicked"); hpmmd.page.page_action = "accepted-solution " +'forum'; hpmmd.page.content_id = ''; } if(hpmmd.page.page_action=="new forum") { if(localStorage['post-from-board']) { hpmmd.page.page_action += " board_page"; } else { hpmmd.page.page_action += " thread_page"; } } if(getParameterByName("post-from-board")=="true") { localStorage["post-from-board"] = true } else if(localStorage['post-from-board']) { localStorage.removeItem("post-from-board"); }hpmmd.user.login = 'false'; if (LITHIUM.CommunityJsonObject.WebTracking.Activities.SearchTerm) { if (!hpmmd.search) {hpmmd.search = {}} hpmmd.search.keyword = LITHIUM.CommunityJsonObject.WebTracking.Activities.SearchTerm; } window.hpmmd = hpmmd;})(LITHIUM.jQuery); ;(function($){ console.log("Medallia Global Data Layer - Checking if we have Global data layer"); if (!window.hasOwnProperty('globalDataLayer')) { console.log("Medallia Global Data Layer - No Global data layer. Creating it"); window.globalDataLayer = {} } console.log("Medallia Global Data Layer - Adding language code: " + "en"); window.globalDataLayer.LanguageCode = "en"; window.globalDataLayer.popUpSurvey = true; window.globalDataLayer.isUserAnonymous = true; window.globalDataLayer.threadboardname = "Notebook-Hardware-and-Upgrade-Questions"; var startTime = new Date(); var surveyPollingTimeout = 60000; var interval = setInterval(function () { if (Math.abs(new Date() - startTime) > surveyPollingTimeout) { clearInterval(interval); } if ($("#nebula_div_btn").length) { clearInterval(interval); $('.alert-section ul').append('

  • Feedback
  • '); $('.alert-section-mobile ul').append('

  • Feedback
  • '); var feeedbackButtonText = $('.kampyle_button-text').text(); $('.opt-feedback-link').text(feeedbackButtonText); $('[id^=opt-custom-feedback]').on('click', function(){ $('#nebula_div_btn').trigger('click'); }); } }, 500);})(LITHIUM.jQuery);(function($) {/* Check the environment (STG vs PRO) to set the correct URL. The code will run both on Stage and Production */var url = "https://global-navbar-backend.id.hp.com/api/v1/session/sso_check";$.ajax({ type: 'GET', url: url, contentType: 'application/json', dataType: 'json', xhrFields: { withCredentials: true }, success: function(data) { /* If the call is successfull, have two scenarios: */ /* If the user is NOT logged in and the results from the API says that a valid session exists, redirect the user to the Khoros sign in plugin, which will take care of authenticating the user on the community automatically */ if(data.sessionIsValid) { // window.location="https://h30434.www3.hp.com/plugins/common/feature/oauth2sso_v2/sso_login_redirect?referer=https%3A%2F%2Fh30434.www3.hp.com%2Ft5%2FNotebook-Hardware-and-Upgrade-Questions%2FKeys-9-o-L-do-not-work%2Ftd-p%2F7730176"; window.location= "/plugins/common/feature/oauth2sso_v2/sso_login_redirect?referer=https%3A%2F%2Fh30434.www3.hp.com%2Ft5%2FNotebook-Hardware-and-Upgrade-Questions%2FKeys-9-o-L-do-not-work%2Ftd-p%2F7730176"; } }, error: function (jqXHR,textStatus,errorThrow) { /* If the call is not successfull, don't take any action. */ console.log("Single Sign-on | Error: " + errorThrow); } });})(LITHIUM.jQuery);(function () { window._uxa = window._uxa || []; try { if (typeof dataLayer !== 'undefined') { } } catch (e){} if (typeof CS_CONF === 'undefined') { window._uxa.push(['setPath',window.location.pathname+window.location.hash.replace('#','?__')]); var mt = document.createElement("script"); mt.type = "text/javascript"; mt.async = true; mt.src = "https://t.contentsquare.net/uxa/eee8c774-ec16-4fc4-a63b-ee91d06bc089.js"; document.getElementsByTagName("head")[0].appendChild(mt); } else { window._uxa.push(['trackPageview',window.location.pathname+window.location.hash.replace('#','?__')]); }})();LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"});LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://h30434.www3.hp.com/t5/forums/v4/forumtopicpage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=board-id/Hardware/thread-id/590297","ajaxErrorEventName":"LITHIUM:ajaxError","token":""});LITHIUM.Auth.API_URL = "/t5/util/authcheckpage";LITHIUM.Auth.LOGIN_URL_TMPL = "/plugins/common/feature/oauth2sso_v2/sso_login_redirect?referer=https%3A%2F%2FREPLACE_TEXT";LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive";LITHIUM.Auth.KEEP_ALIVE_TIME = 300000;LITHIUM.Auth.CHECK_SESSION_TOKEN = 'Bmo7iElNVA0G_-1';LITHIUM.AjaxSupport.useTickets = true;LITHIUM.Loader.runJsAttached();// -->

    '); } var cardWrapper = $('.hover-card-container'); var error = false; var thisUserID = ''; var cardTimer; allHoverCardTriggers.on({ mouseenter: function() { var thisEl = $(this); cardTimer = setTimeout(function(){ var docWidth = $(document).width(); var rightSide = false; //return user id var userLink = thisEl.attr('href'); if($('.ViewProfilePage').length && $('img.lia-user-avatar-profile',thisEl).length){ var userLink = document.location.href; } else if(thisEl.attr('href')=='#'){ return false; } var thisLen = (userLink).split('/'); thisUserID = (thisLen)[thisLen.length-1]; var thisCard = $('.profileCard[data-user='+thisUserID+']',cardWrapper); var thisElLeftOffset = Math.round(thisEl.offset().left+(thisEl.width())); var thisElTopOffset = Math.round(thisEl.offset().top+(thisEl.height()/2)-94); if((thisElLeftOffset+387)>=docWidth){ //hover card is too far to the right of the screen var thisElLeftOffset = Math.round(thisEl.offset().left-387); rightSide = true; } if(thisCard.length && $('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length<1){ $('.profileCard',cardWrapper).hide(); rightSide?thisCard.addClass('rightArrow'):thisCard.removeClass('rightArrow'); thisCard.delay(500).css({'top':thisElTopOffset,'left':thisElLeftOffset}).stop().show(); } else { var ajaxReturn = ''; //just in case thisCard.remove(); //hover card wrapper markup var rightArrowClass = rightSide?'rightArrow':''; var profileCardHtml = '

    Keys '9', 'o', 'L', '.' do not work (20)

    '; $.when( //get the background $.ajax({ type: 'GET', url: userApiUrl+thisUserID, dataType: 'html', success: function(data) { $('.profileCard',cardWrapper).hide(); ajaxReturn = data; } }) ) .done(function(){ cardWrapper.append(profileCardHtml); $('.profileCard[data-user='+thisUserID+']',cardWrapper).eq(0).empty().html(ajaxReturn).on({mouseleave: function() { clearTimeout(cardTimer); if($('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ $('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(500).fadeOut('fast'); } } }); if($('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length){ $('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).parents('div.profileCard').remove(); } }) .fail(function(){ //uh oh - bail out! $('.profileCard',cardWrapper).hide(); }); } },400); }, mouseleave: function() { clearTimeout(cardTimer); if($('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ $('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(500).fadeOut('fast'); } } }); } } window.common = common; $(document).ready(function() { common.profileCard(); }); })(LITHIUM.jQuery);

    '); var dropdownTriggerAnchorId = actualElId+'_dd_headerLink'; var dropdownTabIndex = $('#'+actualElId).attr('tabindex'); var ariaLabel = $('#'+actualElId).attr('aria-labelledby'); var dropdownTriggerValueId = actualElId+'_dd_headerValue'; if(ariaLabel==null || ariaLabel==undefined){ ariaLabel = dropdownTriggerValueId; } else{ ariaLabel = ariaLabel + " "+ dropdownTriggerValueId; } if($('#'+actualElId).hasClass('disabled')) { dropdownContainer.addClass('disabled'); } var dropdownTrigger = $('

    '); if(typeof dropdownTabIndex == "undefined" || dropdownTabIndex == "" ){ var dropdownTriggerAnchor = $('

    '); } else{ var dropdownTriggerAnchor = $('

    '); } var dropdownTriggerValue = $('

    '); $(dropdownTriggerAnchor).append(dropdownTriggerValue); $(dropdownTrigger).append(dropdownTriggerAnchor) $(dropdownContainer).append(dropdownTrigger); var DropdownListId = actualElId+'_dd_list'; var DropdownList = $('

      '); $(dropdownContainer).append(DropdownList); //insert the custom container after the select tag dropdownContainer.insertAfter($('#'+actualElId)); //populate the list items populateDropdownList(actualElId, DropdownListId); //Populate the Dropdown Header Value valueReq = $('#'+actualElId).attr('valuereq') if(valueReq!=null && valueReq!="" ){ var valObtained = getParameterByName(valueReq)?getParameterByName(valueReq):getCCLC(valueReq); if(valObtained != null && valObtained != ''){ valObtained = valObtained.toLowerCase(); /*check if language dropdown and customize for cn-zh hk-zh or tw-zh */ if($(this).attr('valuereq')=="lc") { if( getCCLC("cc") == "cn" && valObtained == "zh"){ valObtained = "zh-hans"; // for china return chinese simplified } else if((getCCLC("cc") == "tw" || getCCLC("cc") == "hk") && valObtained == "zh"){ valObtained = "zh-hant"; // for taiwan and hongkong return chinese traditional } } } populateDropdownHeader(actualElId, valObtained); } else populateDropdownHeader(actualElId, "");};populateDropdownHeader = function(elId, val) {//set the dropdown Header Value to the first elem var firstVal = $($('#'+elId).children('option')[0]).html(); $('#'+elId+'_dd_headerValue').empty().append(firstVal); $('#'+elId+'_dd_headerValue').addClass('default'); //set the hidden dropdown value if(!$('#'+elId).children('option').eq(0).prop('disabled')) { $('#'+elId).val(0) } if(val!="" ) { var elem = ""; $('#'+elId+'_dd_list li.elem a span.value').each(function(){ if($(this).html()==val){ //set the dropdown Header Value to the found elem elem = $(this).parents('a').html() $('#'+elId+'_dd_headerValue').empty().append(elem); //set the hidden dropdown value $('#'+elId).val(val); } }); }};populateDropdownList = function(elId, listId) { $('#'+elId).children('option').each(function() { var listItem = $('

    • '); var listItemAnchor = $(''); var spanValue = $(''); var spanImgUrl = $(''); var spanSeoLabel = $(''); var spanRedirectUrl = $(''); var spanClazzType = $(''); var listData = $(this).html(); var dataValue = $(this).attr('value'); if( $(this).attr('hidden') ) { listItem.addClass('hide'); } $(listItemAnchor).append(listData); $(spanValue).append($(this).attr("value")); listItemAnchor.append(spanValue); if($(this).attr("imageurl")){ $(spanImgUrl).append($(this).attr("imageurl")); listItemAnchor.append(spanImgUrl); } if($(this).attr("seo-label")){ $(spanSeoLabel).append($(this).attr("seo-label")); listItemAnchor.append(spanSeoLabel); } if($(this).attr("redirectUrl")){ $(spanRedirectUrl).append($(this).attr("redirectUrl")); listItemAnchor.append(spanRedirectUrl); } if($(this).attr("clazzType")){ $(spanClazzType).append($(this).attr("clazzType")); listItemAnchor.append(spanClazzType); } $(listItem).append(listItemAnchor); $('#'+listId).append(listItem); });};attachClickHandler = function(elId) { $('#'+elId+'_dd').on('click', function(e){ e.stopPropagation(); if(!$(this).hasClass("disabled")) { $(this).toggleClass("open"); if($(this).hasClass("open")) { positionDropdown($(this).attr('id')); } } }); $(window).on("resize.customDropdown", function() { $(".open .dropdown-menu").each(function(){ positionDropdown($(this).parent().attr('id')); }); }); $(document).click(function (e) { e.stopPropagation(); if ($('#'+elId+'_dd').has(e.target).length === 0 && $('#'+elId+'_dd').hasClass('open')) { $('#'+elId+'_dd').removeClass("open"); } }); $('#'+elId+'_dd_list li').on('click', function(){ //set value in the hidden select tag //populate header value selValue = $(this).children('a').children('span.value').html(); $('#'+elId).val(selValue); populateDropdownHeader(elId, selValue); $('#'+elId).trigger('change'); //set focus to the main anchor tag $('#'+elId+'_dd_headerLink').focus(); });};positionDropdown = function(elId){ var diff = 0; var padding = 15; if( $("#"+elId).children(".dropdown-menu").outerWidth() >$("#"+elId).outerWidth() ) { diff = ($("#"+elId).outerWidth() - $("#"+elId).children(".dropdown-menu").outerWidth())/2; } $("#"+elId).children(".dropdown-menu").removeAttr("style"); overflowLeft = ($(window).width() - padding) - ( $("#"+elId).offset().left + diff + $("#"+elId).children(".dropdown-menu").outerWidth() ); overflowRight = ($("#"+elId).offset().left + diff - padding); if(overflowLeft < 0 && overflowRight < 0) { $("#"+elId).children(".dropdown-menu").css("max-width", "" + ($(window).width() - $("#"+elId).offset().left - padding ) + "px" ); diff = 0; } else if(overflowLeft < 0 ) { diff = diff + overflowLeft; } else if(overflowRight < 0) { diff = diff - overflowRight; } $("#"+elId).children(".dropdown-menu").css("left", diff + "px"); }attachKeyboardListeners = function(elId){ //keydown evets for esc/bcksp/tab $('#'+elId+'_dd').on('keydown', function(e) { if(e.keyCode == 8 || e.keyCode == 9 || e.keyCode == 27 ){ //if the user hits backspace, esc, or tab it should close the dropdown if($(this).hasClass('open')){ e.preventDefault(); e.stopPropagation();//to prevent popups from closing $(this).removeClass('open'); } } if(e.keyCode == 13 && !$(this).hasClass('open') ){ $(this).addClass('open') } }); //keypress events for typeahead $('#'+elId+'_dd').on('keypress', function(e) { if(e.keyCode != 37 || e.keyCode != 38 || e.keyCode != 39 || e.keyCode != 40){ key = String.fromCharCode(e.charCode != null ? e.charCode : e.keyCode); clearTimeout(timeOutResetLetters); timeOutResetLetters = setTimeout(function(){ letterPressed = []; },500); letterPressed.push(key); if(getTyped() == letterPressed.join('')){ setTyped(letterPressed.join('')); setCounter(getCounter()+1); } else{ setCounter(1); setTyped(letterPressed.join('')); } typeahead(letterPressed.join(''), this); } }); //To handle typeahed for more than once $('#'+elId+'_dd').on('blur', function(e) { setCounter(1); setTyped(''); }); $('#'+elId+'_dd ul > li').on('mouseover', function(e) { setTypeAhead(this); });};typeahead = function(what, elem){ var els = $('#'+$(elem).attr('id')+' .elem').filter(function(index) { return $(this).children('a').html().toLowerCase().search(what) == 0; }); var index = (typeAheadCounter - 1) % els.length; if(els && els.length > 0 && els[index] && els[index].childNodes[0]){ els[index].childNodes[0].focus(); }}setTypeAhead = function(el){ var hoveredEl = $(el); var hoveredChar = hoveredEl.children('a').html().toLowerCase().split('<')[0][0]; setTyped(hoveredChar); setCounter(0); /* var i = 1; //TODO: revisit for mouse hover logic var els = hoveredEl.parent().children('.elem').filter(function(index) { return $(this).children('a').html().toLowerCase().search(hoveredChar) == 0; }); while(i < els.length){ console.log(hoveredEl+' == '+els); if(hoveredEl == els[i-1]){ setCounter(i); console.log(hoveredChar+', '+i); } i+=1; } */ }var letterPressed = [];var timeOutResetLetters = null;var typeAheadCounter = 1;var typeAheadText = '';function setCounter(val) { typeAheadCounter = val;}function getCounter() { return typeAheadCounter;}function setTyped(val) { typeAheadText = val;}function getTyped() { return typeAheadText;}getSelectedData = function(opt,elID) { var elem = $('#'+elID+'_dd_headerValue'); if(opt=='value'){ return $(elem).children('span.value').html(); } if(opt=='imgurl'){ return $(elem).children('span.imgurl').html(); } if(opt=='seoLabel'){ return $(elem).children('span.seoLabel').html(); } if(opt=='redirectUrl'){ return $(elem).children('span.redirectUrl').html(); } if(opt=='clazzType'){ return $(elem).children('span.clazzType').html(); }}attachChangeListener = function(elId){ $('#'+elId).on('change',function(){ var currentValue = $(this).val(); populateDropdownHeader(elId, currentValue); if(($('#'+elId).hasClass('disabled') || $('#'+elId).prop('disabled')) && !$('#'+elId+'_dd').hasClass('disabled')) { $('#'+elId+'_dd').addClass('disabled'); } else if ((!$('#'+elId).hasClass('disabled') && !$('#'+elId).prop('disabled')) && $('#'+elId+'_dd').hasClass('disabled')) { $('#'+elId+'_dd').removeClass('disabled'); } });}$(document).ready(function() { $("body.PostPage select, body.EditPage select, body.ReplyPage select").addClass("hpStyleDropdown"); getHpStyleDropdown(); /* Workaround for jQuery 'trigger' not launching the event handler inside the closure (LITHIUM.MessageEditorForm.BoardChooser) */ var changeTriggered = false; $('body.PostPage #lia-board, body.ForumPage #sortthreads').on('change', function() { if(!changeTriggered) { changeTriggered = true; $(this)[0].dispatchEvent(new Event("change")); setTimeout(function(){ changeTriggered = false; },100) } }); $('body.PostPage #no-product, body.ReplyPage #no-product, body.EditPage #no-product').on('change', function() { $("#s-products").trigger("change"); });});

    • Keys '9', 'o', 'L', '.' do not work (2024)

      References

      Top Articles
      Latest Posts
      Article information

      Author: Cheryll Lueilwitz

      Last Updated:

      Views: 6049

      Rating: 4.3 / 5 (74 voted)

      Reviews: 89% of readers found this page helpful

      Author information

      Name: Cheryll Lueilwitz

      Birthday: 1997-12-23

      Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

      Phone: +494124489301

      Job: Marketing Representative

      Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

      Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.