Black screen couldn't power off after BIOS update (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 Operating System and Recovery
  • Black screen couldn't power off after BIOS update

Black screen couldn't power off after BIOS update

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

Black screen couldn't power off after BIOS update (3)

Guidelines

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

Black screen couldn't power off after BIOS update (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

Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.

Black screen couldn't power off after BIOS update (5)

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

Black screen couldn't power off after BIOS update (6)

Darryl_lee

1 0 0

17,258

New member

‎02-28-202206:46 PM - last edited on ‎03-01-202208:23 AM by Black screen couldn't power off after BIOS update (7)Ric_ob

Black screen couldn't power off after BIOS update (8) HP Recommended

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

Operating System: Microsoft Windows 11

What happened was that the auto BIOS update screen suddenly appears coincidentally when my game crashed. Everything went fine until the message screen before it turn black. The message reads something like do not attempt to power off the laptop and the restart would take minutes but now it's been 10hrs without change. Now I've done all the windows + B key combo also the ctrl + B combo and holding then releasing the power button but that doesn't work. Seems like my laptop doesn't even want to turn off unlike the tutorials telling to hold on the power button for 15s. Basically I'm stumped right now and only option is opening up my laptop

Tags (1)

  • Tags:
  • Microsoft Windows 11

View All (1)

Category:

  • Bios Issue

8 people had the same question

I have the same question

1 REPLY 1

Black screen couldn't power off after BIOS update (9)

Black screen couldn't power off after BIOS update (10)Dilip_18

2,759 171 97

17,060

HP Support Agent

‎03-04-202207:16 AM

Black screen couldn't power off after BIOS update (11) HP Recommended

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

Hi@Darryl_lee,

Welcome to the HP Support Community! I'd like to help!

I see you are experiencing issues with the HP Notebook not booting to windowsjust goes to a black screen.

The BIOS can be corrupted during normal operationfrom a failed BIOS upgrade, or damage from a virus.

Recover the BIOS using a key press combination.

Turn off the computer. Press and hold theWindows+bkeys, and continue to press those keys while you press and hold the power button for 2 to 3 seconds. Release the power button, but continue pressing theWindows+bkeys.

The power light remains on, and the screen remains blank for about 40 seconds before anything is displayed. You might hear a series of beeps (usually 8 beeps). Eventually, an HP BIOS Update screen is displayed and the BIOS update begins automatically.

NOTE:If the HP BIOS Update screen is not displayed, press and release the power button, and then immediately press theWindows+bkeys at the same time, repeatedly, until the computer beeps or opens the HP BIOS Update screen.

After the BIOS is recovered, aContinue Startupbutton is displayed and a timer counts down. Click theContinue Startupbutton to restart the computer immediately, or wait for the computer to restart automatically when the timer reaches zero.

If issue still persist then run diagnostics to rule out other hard drive issues

  1. Start or restart the computer.
  2. Press F2 repeatedly during start up to enter theHP PC Hardware Diagnostics UEFI utility.
  3. SelectComponent Tests>Hard Drive>Quick Test.
  4. ClickRun Once.

Once the test completes, results are displayed on the screen.

If the drive passes all tests, continueto restore a computer back to the factory default, which will isolate whether it’s a software or hardware issue.

The HP Cloud Recovery Tool allows you to download recovery software to a USB drive. You can use the downloaded recovery image file in order to install the Windows operating system.

Click herefor the HP Cloud Recovery Tool(Windows 10)link.

For any hardware issue or repair please click on the linkPhone Assist Worldwide

Hope this helps! Keep me posted.

Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click on the YES button to reply that the response was helpful and/or to say “Thank You”.


Have a great day!

Was this reply helpful?YesNo

Black screen couldn't power off after BIOS update (12)

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.

Black screen couldn't power off after BIOS update (13)

  • English

    Open Menu
    • English

    • Español

    • Português

    • 中文

Black screen couldn't power off after BIOS update (14)

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 Operating System and Recovery';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-Operating-System-and-Recovery"; 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-Operating-System-and-Recovery%2FBlack-screen-couldn-t-power-off-after-BIOS-update%2Ftd-p%2F8317290"; window.location= "/plugins/common/feature/oauth2sso_v2/sso_login_redirect?referer=https%3A%2F%2Fh30434.www3.hp.com%2Ft5%2FNotebook-Operating-System-and-Recovery%2FBlack-screen-couldn-t-power-off-after-BIOS-update%2Ftd-p%2F8317290"; } }, 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/OS/thread-id/625591","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 = '6ivNsZNWGeN9_-1';LITHIUM.AjaxSupport.useTickets = true;LITHIUM.Cache.CustomEvent.set([{"elementId":"link_2","stopTriggerEvent":false,"fireEvent":"LITHIUM:labelSelected","triggerEvent":"click","eventContext":{"uid":197,"selectedLabel":"bios issue","title":"Bios Issue"}}]);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 = '

    Black screen couldn't power off after BIOS update (15)

    '; $.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"); });});

    • Black screen couldn't power off after BIOS update (2024)
      Top Articles
      Latest Posts
      Article information

      Author: Otha Schamberger

      Last Updated:

      Views: 5814

      Rating: 4.4 / 5 (55 voted)

      Reviews: 94% of readers found this page helpful

      Author information

      Name: Otha Schamberger

      Birthday: 1999-08-15

      Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

      Phone: +8557035444877

      Job: Forward IT Agent

      Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

      Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.