| Label | Element | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Registrant Name | dei_EntityRegistrantName | JOHN HANCOCK FUNDS II | ||||||||||
| Prospectus Date | rr_ProspectusDate | Jan. 01, 2025 | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk/Return [Heading] | rr_RiskReturnHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:24pt;">John Hancock Floating Rate Income Fund</span> | ||||||||||
| Objective [Heading] | rr_ObjectiveHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Investment objective</span> | ||||||||||
| Objective, Primary [Text Block] | rr_ObjectivePrimaryTextBlock | To seek a high level of current income. | ||||||||||
| Expense [Heading] | rr_ExpenseHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Fees and expenses</span> | ||||||||||
| Expense Narrative [Text Block] | rr_ExpenseNarrativeTextBlock | This table describes the fees and expenses you may pay if you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the tables and examples below. You may qualify for sales charge discounts on Class A shares if you and your family invest, or agree to invest in the future, at least $100,000 in the John Hancock family of funds.Intermediaries may have different policies and procedures regarding the availability of front-end sales charge waivers or contingent deferred sales charge (CDSC) waivers (See Appendix 1 - Intermediary sales charge waivers, which includes information about specific sales charge waivers applicable to the intermediaries identified therein). More information about these and other discounts is available from your financial professional and beginning on page 23 of the prospectus under “Sales charge reductions and waivers” or page 144 of the fund’s Statement of Additional Information under “Sales Charges on Class A and Class C Shares.” | ||||||||||
| Shareholder Fees Caption [Text] | rr_ShareholderFeesCaption | <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Shareholder fees (%) </span><span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;">(fees paid directly from your investment)</span> | ||||||||||
| Operating Expenses Caption [Text] | rr_OperatingExpensesCaption | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Annual fund operating expenses (%) </span><span style="font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;">(expenses that you pay each year as a percentage of the value of your </span><span style="font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;">investment)</span> | ||||||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | <span style="font-family:Arial Narrow;font-size:8pt;">July 31, 2026</span> | ||||||||||
| Portfolio Turnover [Heading] | rr_PortfolioTurnoverHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Portfolio turnover</span> | ||||||||||
| Portfolio Turnover [Text Block] | rr_PortfolioTurnoverTextBlock | The fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the fund’s performance. During its most recent fiscal year, the fund’s portfolio turnover rate was 51% of the average value of its portfolio. | ||||||||||
| Portfolio Turnover, Rate | rr_PortfolioTurnoverRate | 51.00% | ||||||||||
| Expense Breakpoint Discounts [Text] | rr_ExpenseBreakpointDiscounts | <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">You may qualify for sales </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">charge discounts on Class A shares if you and your family invest, or agree to invest in the future, at least $</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">100,000</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> in the John Hancock family of funds.</span> | ||||||||||
| Expense Breakpoint, Minimum Investment Required [Amount] | rr_ExpenseBreakpointMinimumInvestmentRequiredAmount | $ 100,000 | ||||||||||
| Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text] | rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees | <span style="font-family:Arial Narrow;font-size:8pt;">The “Total annual fund operating expenses” shown may not correlate to the fund’s ratios of expenses to average daily net assets shown in the “Financial highlights” section of the fund’s prospectus, which does not include “Acquired fund fees and expenses.”</span> | ||||||||||
| Expense Example [Heading] | rr_ExpenseExampleHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Expense example</span> | ||||||||||
| Expense Example Narrative [Text Block] | rr_ExpenseExampleNarrativeTextBlock | This example is intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds. Please see below a hypothetical example showing the expenses of a $10,000 investment for the time periods indicated and then, except as shown below, assuming you sell all of your shares at the end of those periods. The example assumes a 5% average annual return and that fund expenses will not change over the periods. Although your actual costs may be higher or lower, based on these assumptions, your costs would be: | ||||||||||
| Expense Example by, Year, Caption [Text] | rr_ExpenseExampleByYearCaption | <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;">Shares Sold</span> | ||||||||||
| Expense Example, No Redemption, By Year, Caption [Text] | rr_ExpenseExampleNoRedemptionByYearCaption | <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;">Shares</span><span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;">Not Sold</span> | ||||||||||
| Strategy [Heading] | rr_StrategyHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Principal investment strategies</span> | ||||||||||
| Strategy Narrative [Text Block] | rr_StrategyNarrativeTextBlock | Under normal market conditions, the fund will invest at least 80% of its net assets (plus any borrowings for investment purposes) in floating-rate loans, which often include debt securities of domestic and foreign issuers that are rated below investment grade (rated below Baa by a nationally recognized statistical rating organization such as Moody’s Investors Service, Inc. or BBB by S&P Global Ratings), at the time of purchase, or are of comparable quality, as determined by the manager, and other floating-rate securities. Bonds that are rated at or below BB by S&P Global Ratings or Ba by Moody’s Investors Service, Inc. are considered junk bonds. The fund may invest in domestic and foreign loans and loan participations that pay interest at rates that float or reset periodically at a margin above a generally recognized base lending rate such as the Prime Rate, the Secured Overnight Financing Rate (SOFR), or another generally recognized base lending rate. Loans and debt instruments rated below investment grade are considered speculative. The fund may invest in loans of companies whose financial conditions are troubled or uncertain and that may be involved in bankruptcy proceedings, reorganizations, or financial restructurings. Some loans may be illiquid. The fund may also acquire and hold warrants and other equity interests. The fund may invest in loans, loan participations, and other securities of any maturity and duration. The fund may also invest in loans of any aggregate principal amount, which will vary from time to time. For purposes of reducing risk and/or improving liquidity, the fund may invest in derivative instruments such as options (including options on securities indexes) and swaps (including credit default swaps). The fund may invest in any number of issuers and may, at times, invest its assets in a small number of issuers. The fund may focus its investments in a particular sector or sectors of the economy. The fund’s investment process may result in a higher-than-average portfolio turnover ratio. | ||||||||||
| Risk [Heading] | rr_RiskHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Principal risks</span> | ||||||||||
| Bar Chart and Performance Table [Heading] | rr_BarChartAndPerformanceTableHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Past performance</span> | ||||||||||
| Performance Narrative [Text Block] | rr_PerformanceNarrativeTextBlock | The following information illustrates the variability of the fund’s returns and provides some indication of the risks of investing in the fund by showing changes in the fund’s performance from year to year and by showing how the fund’s average annual returns compared with a broad-based securities market index. Past performance (before and after taxes) does not indicate future results.The Morningstar LSTA US Leveraged Loan Index shows how the fund’s performance compares against the returns of similar investments. All figures assume dividend reinvestment. Performance information is updated daily, monthly, and quarterly and may be obtained at our website, jhinvestments.com, or by calling 800-225-5291 (Class A and Class C), Monday to Thursday, 8:00 a.m.—7:00 p.m., and Friday, 8:00 a.m.—6:00 p.m., Eastern time, or 888-972-8696 (Class I and Class R6) between 8:30 a.m. and 5:00 p.m., Eastern time, on most business days.A note on performancePrior to August 30, 2018, the fund was managed by a different subadvisor pursuant to different investment strategies, and thus, the performance presented prior to this date should not be attributed to the current subadvisor. The fund’s performance shown below might have differed materially had the current subadvisor managed the fund prior to August 30, 2018.Please note that after-tax returns (shown for Class A shares only) reflect the highest individual federal marginal income-tax rate in effect as of the date provided and do not reflect any state or local taxes. Your actual after-tax returns may be different. After-tax returns are not relevant to shares held in an IRA, 401(k), or other tax-advantaged investment plan. After-tax returns for other share classes would vary. The returns for Class A shares have been adjusted to reflect the reduction in the maximum sales charge from 3.00% to 2.50%, effective February 3, 2014. | ||||||||||
| Performance Information Illustrates Variability of Returns [Text] | rr_PerformanceInformationIllustratesVariabilityOfReturns | <span style="font-family:Arial Narrow;font-size:9pt;">The following information illustrates the variability of the fund’s returns and provides some indication of the risks of investing in the fund by showing changes in the fund’s performance from year to year and by showing how the fund’s average annual returns compared with a broad-based securities market index. </span> | ||||||||||
| Performance Availability Phone [Text] | rr_PerformanceAvailabilityPhone | <span style="font-family:Arial Narrow;font-size:9pt;">800-225-5291 (Class A and Class C), </span><span style="font-family:Arial Narrow;font-size:9pt;">Monday to Thursday, 8:00</span><span style="font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">a.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">—7:00</span><span style="font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">p.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">, and Friday, 8:00</span><span style="font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">a.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">—6:00</span><span style="font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">p.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">, Eastern time, or 888-972-8696 (Class I and Class R6) between 8:30</span><span style="font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">a.m.</span><span style="font-family:Arial Narrow;font-size:9pt;"> and 5:00</span><span style="font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">p.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">, Eastern time, on most business days.</span> | ||||||||||
| Performance Availability Website Address [Text] | rr_PerformanceAvailabilityWebSiteAddress | <span style="font-family:Arial Narrow;font-size:9pt;">jhinvestments.com</span> | ||||||||||
| Performance Past Does Not Indicate Future [Text] | rr_PerformancePastDoesNotIndicateFuture | <span style="font-family:Arial Narrow;font-size:9pt;">Past performance (before and after taxes) does not indicate future results.</span> | ||||||||||
| Bar Chart [Heading] | rr_BarChartHeading | <span style="font-family:Arial Narrow;font-size:9pt;font-weight:bold;">Calendar year total returns (%)—Class A </span><span style="font-family:Arial Narrow;font-size:9pt;">(</span><span style="font-family:Arial Narrow;font-size:9pt;">sales charges are not reflected in the bar chart and returns would have been lower if they were</span><span style="font-family:Arial Narrow;font-size:9pt;">)</span> | ||||||||||
| Bar Chart Does Not Reflect Sales Loads [Text] | rr_BarChartDoesNotReflectSalesLoads | <span style="font-family:Arial Narrow;font-size:9pt;">sales charges are not reflected in the bar chart and returns would have been lower if they were</span> | ||||||||||
| Bar Chart Closing [Text Block] | rr_BarChartClosingTextBlock | Year-to-date total return through:Q3 20246.41%Best quarter:Q2 20209.85%Worst quarter:Q1 2020-13.74% | ||||||||||
| Performance Table Heading | rr_PerformanceTableHeading | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Average annual total returns (%)—as of 12/31/2023</span> | ||||||||||
| Performance Table Market Index Changed | rr_PerformanceTableMarketIndexChanged | <span style="font-family:Arial Narrow;font-size:8pt;">The fund has designated the Bloomberg U.S. Aggregate Bond Index as its new broad-based securities market index in accordance with the revised definition for such an index.</span> | ||||||||||
| Performance Table Uses Highest Federal Rate | rr_PerformanceTableUsesHighestFederalRate | <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">Please note that after-tax returns (shown for Class A shares only)</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> reflect the highest individual federal marginal income-tax rate in effect as of the date </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">provided and do not reflect any state or local taxes.</span> | ||||||||||
| Performance Table Not Relevant to Tax Deferred | rr_PerformanceTableNotRelevantToTaxDeferred | <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> Your actual after-tax returns may be different. After-tax returns are not relevant to shares held in an </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">IRA, 401(k), or other tax-advantaged investment plan.</span> | ||||||||||
| Performance Table One Class of after Tax Shown [Text] | rr_PerformanceTableOneClassOfAfterTaxShown | <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">Please note that after-tax returns (shown for Class A shares only)</span> | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Risk Lose Money [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Many factors affect performance, and fund shares will fluctuate in price, meaning you could lose money. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Risk Not Insured Depository Institution [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | An investment in the fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Changing Distribution Levels Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Changing distribution levels risk. The fund may cease or reduce the level of its distribution if income or dividends paid from its investments declines. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Credit And Counterparty Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Credit and counterparty risk. The issuer or guarantor of a fixed-income security, the counterparty to an over-the-counter derivatives contract, or a borrower of fund securities may not make timely payments or otherwise honor its obligations. A downgrade or default affecting any of the fund’s securities could affect the fund’s performance. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Distressed investments risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Distressed investments risk. Distressed investments, including loans, mortgages, bonds, and notes, may not be publicly traded and may involve substantial risk. A fund may lose up to its entire investment. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Economic And Market Events Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Economic and market events risk. Events in the U.S. and global financial markets, including actions taken by the U.S. Federal Reserve or foreign central banks to stimulate or stabilize economic growth, may at times result in unusually high market volatility, which could negatively impact performance. Reduced liquidity in credit and fixed-income markets could adversely affect issuers worldwide. Banks and financial services companies could suffer losses if interest rates rise or economic conditions deteriorate. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Equity Securities Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Equity securities risk. The price of equity securities may decline due to changes in a company’s financial condition or overall market conditions. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Fixed Income Securities Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Fixed-income securities risk. A rise in interest rates typically causes bond prices to fall. The longer the average maturity or duration of the bonds held by a fund, the more sensitive it will likely be to interest-rate fluctuations. An issuer may not make all interest payments or repay all or any of the principal borrowed. Changes in a security’s credit quality may adversely affect fund performance. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Floating Rate Loans Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Floating rate loans risk. Floating rate loans are generally rated below investment-grade and are generally considered speculative because they present a greater risk of loss, including default, than higher quality debt instruments. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Foreign Securities Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Foreign securities risk. Less information may be publicly available regarding foreign issuers, including foreign government issuers. Foreign securities may be subject to foreign taxes and may be more volatile than U.S. securities. Currency fluctuations and political and economic developments may adversely impact the value of foreign securities. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Hedging Derivatives And Other Strategic Transactions Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Hedging, derivatives, and other strategic transactions risk. Hedging, derivatives, and other strategic transactions may increase a fund’s volatility and could produce disproportionate losses, potentially more than the fund’s principal investment. Risks of these transactions are different from and possibly greater than risks of investing directly in securities and other traditional instruments. Under certain market conditions, derivatives could become harder to value or sell and may become subject to liquidity risk (i.e., the inability to enter into closing transactions). Derivatives and other strategic transactions that the fund intends to utilize include: credit default swaps, options, and swaps. Options and swaps generally are subject to counterparty risk. In addition, swaps may be subject to interest-rate and settlement risk, and the risk of default of the underlying reference obligation. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | High Portfolio Turnover Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | High portfolio turnover risk. Trading securities actively and frequently can increase transaction costs (thus lowering performance) and taxable distributions. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Illiquid And Restricted Securities Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Illiquid and restricted securities risk. Illiquid and restricted securities may be difficult to value and may involve greater risks than liquid securities. Illiquidity may have an adverse impact on a particular security’s market price and the fund’s ability to sell the security. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Interest Rate Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Interest-rate risk. Fixed-income securities are affected by changes in interest rates. When interest rates decline, the market value of fixed-income securities generally can be expected to rise. Conversely, when interest rates rise, the market value of fixed-income securities generally can be expected to decline. The longer the duration or maturity of a fixed-income security, the more susceptible it is to interest-rate risk. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | LIBOR Discontinuation Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | LIBOR discontinuation risk. The official publication of the London Interbank Offered Rate (LIBOR), which many debt securities, derivatives and other financial instruments traditionally utilized as the reference or benchmark rate for interest rate calculations, was discontinued as of June 30, 2023. However, a subset of LIBOR settings was published on a “synthetic” basis until September 30, 2024. The discontinuation of LIBOR and a transition to replacement rates may lead to volatility and illiquidity in markets and may adversely affect the fund’s performance. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Liquidity Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Liquidity risk. The extent (if at all) to which a security may be sold or a derivative position closed without negatively impacting its market value may be impaired by reduced market activity or participation, legal restrictions, or other economic and market impediments. Liquidity risk may be magnified in rising interest rate environments due to higher than normal redemption rates. Widespread selling of fixed-income securities to satisfy redemptions during periods of reduced demand may adversely impact the price or salability of such securities. Periods of heavy redemption could cause the fund to sell assets at a loss or depressed value, which could negatively affect performance. Redemption risk is heightened during periods of declining or illiquid markets. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Loan Participations Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Loan participations risk. Participations and assignments involve special types of risks, including credit risk, interest-rate risk, counterparty risk, liquidity risk, risks associated with extended settlement, and the risks of being a lender. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Lower Rated And High Yield Fixed Income Securities Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Lower-rated and high-yield fixed-income securities risk. Lower-rated and high-yield fixed-income securities (junk bonds) are subject to greater credit quality risk, risk of default, and price volatility than higher-rated fixed-income securities, may be considered speculative, and can be difficult to resell. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Operational And Cybersecurity Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Operational and cybersecurity risk. Cybersecurity breaches may allow an unauthorized party to gain access to fund assets, customer data, or proprietary information, or cause a fund or its service providers to suffer data corruption or lose operational functionality. Similar incidents affecting issuers of a fund’s securities may negatively impact performance. Operational risk may arise from human error, error by third parties, communication errors, or technology failures, among other causes. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Sector Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Sector risk. When a fund focuses its investments in certain sectors of the economy, its performance may be driven largely by sector performance and could fluctuate more widely than if the fund were invested more evenly across sectors. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Small number of issuers risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Small number of issuers risk. Adverse events affecting a particular issuer or group of issuers may magnify losses for funds which may invest a large portion of assets in any one issuer or a small number of issuers. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Warrants Risk [Member] | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Risk [Text Block] | rr_RiskTextBlock | Warrants risk. The prices of warrants may not precisely reflect the prices of their underlying securities. Warrant holders do not receive dividends or have voting or credit rights. A warrant ceases to have value if not exercised prior to its expiration date. | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Class A | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Maximum front-end sales charge (load) on purchases, as a % of purchase price | rr_MaximumCumulativeSalesChargeOverOfferingPrice | 2.50% | ||||||||||
| Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less | rr_MaximumDeferredSalesChargeOverOfferingPrice | 0.50% | ||||||||||
| Small account fee (for fund account balances under $1,000) ($) | rr_MaximumAccountFee | $ 20 | ||||||||||
| Management fee | rr_ManagementFeesOverAssets | 0.68% | ||||||||||
| Distribution and service (Rule 12b-1) fees | rr_DistributionAndService12b1FeesOverAssets | 0.25% | ||||||||||
| Other expenses | rr_OtherExpensesOverAssets | 0.22% | [1] | |||||||||
| Acquired fund fees and expenses | rr_AcquiredFundFeesAndExpensesOverAssets | 0.02% | [2] | |||||||||
| Total annual fund operating expenses | rr_ExpensesOverAssets | 1.17% | [3] | |||||||||
| Contractual expense reimbursement | rr_FeeWaiverOrReimbursementOverAssets | (0.14%) | [4] | |||||||||
| Total annual fund operating expenses after expense reimbursements | rr_NetExpensesOverAssets | 1.03% | ||||||||||
| 1 year | rr_ExpenseExampleYear01 | $ 352 | ||||||||||
| 3 years | rr_ExpenseExampleYear03 | 599 | ||||||||||
| 5 years | rr_ExpenseExampleYear05 | 864 | ||||||||||
| 10 years | rr_ExpenseExampleYear10 | $ 1,623 | ||||||||||
| 2014 | rr_AnnualReturn2014 | (0.35%) | ||||||||||
| 2015 | rr_AnnualReturn2015 | (4.37%) | ||||||||||
| 2016 | rr_AnnualReturn2016 | 10.94% | ||||||||||
| 2017 | rr_AnnualReturn2017 | 2.71% | ||||||||||
| 2018 | rr_AnnualReturn2018 | (1.12%) | ||||||||||
| 2019 | rr_AnnualReturn2019 | 8.79% | ||||||||||
| 2020 | rr_AnnualReturn2020 | 2.65% | ||||||||||
| 2021 | rr_AnnualReturn2021 | 4.70% | ||||||||||
| 2022 | rr_AnnualReturn2022 | (4.24%) | ||||||||||
| 2023 | rr_AnnualReturn2023 | 13.30% | ||||||||||
| Year to Date Return, Label | rr_YearToDateReturnLabel | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Year-to-date total return through:</span> | ||||||||||
| Bar Chart, Year to Date Return, Date | rr_BarChartYearToDateReturnDate | Sep. 30, 2024 | ||||||||||
| Bar Chart, Year to Date Return | rr_BarChartYearToDateReturn | 6.41% | ||||||||||
| Highest Quarterly Return, Label | rr_HighestQuarterlyReturnLabel | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Best quarter:</span> | ||||||||||
| Highest Quarterly Return, Date | rr_BarChartHighestQuarterlyReturnDate | Jun. 30, 2020 | ||||||||||
| Highest Quarterly Return | rr_BarChartHighestQuarterlyReturn | 9.85% | ||||||||||
| Lowest Quarterly Return, Label | rr_LowestQuarterlyReturnLabel | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Worst quarter:</span> | ||||||||||
| Lowest Quarterly Return, Date | rr_BarChartLowestQuarterlyReturnDate | Mar. 31, 2020 | ||||||||||
| Lowest Quarterly Return | rr_BarChartLowestQuarterlyReturn | (13.74%) | ||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 10.45% | ||||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 4.33% | ||||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 2.88% | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Class C | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Maximum front-end sales charge (load) on purchases, as a % of purchase price | rr_MaximumCumulativeSalesChargeOverOfferingPrice | none | ||||||||||
| Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less | rr_MaximumDeferredSalesChargeOverOfferingPrice | 1.00% | ||||||||||
| Small account fee (for fund account balances under $1,000) ($) | rr_MaximumAccountFee | $ 20 | ||||||||||
| Management fee | rr_ManagementFeesOverAssets | 0.68% | ||||||||||
| Distribution and service (Rule 12b-1) fees | rr_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||||||
| Other expenses | rr_OtherExpensesOverAssets | 0.22% | [1] | |||||||||
| Acquired fund fees and expenses | rr_AcquiredFundFeesAndExpensesOverAssets | 0.02% | [2] | |||||||||
| Total annual fund operating expenses | rr_ExpensesOverAssets | 1.92% | [3] | |||||||||
| Contractual expense reimbursement | rr_FeeWaiverOrReimbursementOverAssets | (0.14%) | [4] | |||||||||
| Total annual fund operating expenses after expense reimbursements | rr_NetExpensesOverAssets | 1.78% | ||||||||||
| 1 year | rr_ExpenseExampleYear01 | $ 281 | ||||||||||
| 3 years | rr_ExpenseExampleYear03 | 590 | ||||||||||
| 5 years | rr_ExpenseExampleYear05 | 1,024 | ||||||||||
| 10 years | rr_ExpenseExampleYear10 | 2,037 | ||||||||||
| Expense Example, No Redemption, 1 Year | rr_ExpenseExampleNoRedemptionYear01 | 181 | ||||||||||
| Expense Example, No Redemption, 3 Years | rr_ExpenseExampleNoRedemptionYear03 | 590 | ||||||||||
| Expense Example, No Redemption, 5 Years | rr_ExpenseExampleNoRedemptionYear05 | 1,024 | ||||||||||
| Expense Example, No Redemption, 10 Years | rr_ExpenseExampleNoRedemptionYear10 | $ 2,037 | ||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 11.44% | ||||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 4.09% | ||||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 2.38% | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Class I | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Maximum front-end sales charge (load) on purchases, as a % of purchase price | rr_MaximumCumulativeSalesChargeOverOfferingPrice | none | ||||||||||
| Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||||||
| Small account fee (for fund account balances under $1,000) ($) | rr_MaximumAccountFee | none | ||||||||||
| Management fee | rr_ManagementFeesOverAssets | 0.68% | ||||||||||
| Distribution and service (Rule 12b-1) fees | rr_DistributionAndService12b1FeesOverAssets | none | ||||||||||
| Other expenses | rr_OtherExpensesOverAssets | 0.22% | [1] | |||||||||
| Acquired fund fees and expenses | rr_AcquiredFundFeesAndExpensesOverAssets | 0.02% | [2] | |||||||||
| Total annual fund operating expenses | rr_ExpensesOverAssets | 0.92% | [3] | |||||||||
| Contractual expense reimbursement | rr_FeeWaiverOrReimbursementOverAssets | (0.12%) | [4] | |||||||||
| Total annual fund operating expenses after expense reimbursements | rr_NetExpensesOverAssets | 0.80% | ||||||||||
| 1 year | rr_ExpenseExampleYear01 | $ 82 | ||||||||||
| 3 years | rr_ExpenseExampleYear03 | 281 | ||||||||||
| 5 years | rr_ExpenseExampleYear05 | 498 | ||||||||||
| 10 years | rr_ExpenseExampleYear10 | $ 1,120 | ||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 13.56% | ||||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 5.09% | ||||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 3.40% | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Class R6 | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| Maximum front-end sales charge (load) on purchases, as a % of purchase price | rr_MaximumCumulativeSalesChargeOverOfferingPrice | none | ||||||||||
| Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||||||
| Small account fee (for fund account balances under $1,000) ($) | rr_MaximumAccountFee | none | ||||||||||
| Management fee | rr_ManagementFeesOverAssets | 0.68% | ||||||||||
| Distribution and service (Rule 12b-1) fees | rr_DistributionAndService12b1FeesOverAssets | none | ||||||||||
| Other expenses | rr_OtherExpensesOverAssets | 0.11% | [1] | |||||||||
| Acquired fund fees and expenses | rr_AcquiredFundFeesAndExpensesOverAssets | 0.02% | [2] | |||||||||
| Total annual fund operating expenses | rr_ExpensesOverAssets | 0.81% | [3] | |||||||||
| Contractual expense reimbursement | rr_FeeWaiverOrReimbursementOverAssets | (0.12%) | [4] | |||||||||
| Total annual fund operating expenses after expense reimbursements | rr_NetExpensesOverAssets | 0.69% | ||||||||||
| 1 year | rr_ExpenseExampleYear01 | $ 70 | ||||||||||
| 3 years | rr_ExpenseExampleYear03 | 247 | ||||||||||
| 5 years | rr_ExpenseExampleYear05 | 438 | ||||||||||
| 10 years | rr_ExpenseExampleYear10 | $ 991 | ||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 13.83% | ||||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 5.25% | ||||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 3.53% | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Return After Taxes on Distributions | Class A | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 6.64% | ||||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 1.96% | ||||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 0.71% | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Return After Taxes on Distributions and Sale of Shares | Class A | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 6.08% | ||||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 2.28% | ||||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 1.20% | ||||||||||
| Class A C I R6 | Floating Rate Income Fund | Bloomberg U.S. Aggregate Bond Index (reflects no deduction for fees, expenses, or taxes) | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 5.53% | [5] | |||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 1.10% | [5] | |||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 1.81% | [5] | |||||||||
| Class A C I R6 | Floating Rate Income Fund | Morningstar LSTA US Leveraged Loan Index (reflects no deduction for fees, expenses, or taxes) | ||||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 13.13% | ||||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 5.80% | ||||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 4.42% | ||||||||||
| ||||||||||||