<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>32</ContextCount>
  <ElementCount>43</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>17</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="f40211d1.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995470 - Disclosure - N-2</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cef/role/N2</Role>
      <ShortName>N-2</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="N-CSR" isDefinitelyNotFs="true" isNcsr="true" isUsgaap="true" original="f40211d1.htm">f40211d1.htm</File>
    <File>jhit-20241031.xsd</File>
    <File>jhit-20241031_def.xml</File>
    <File>jhit-20241031_lab.xml</File>
    <File>jhit-20241031_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g7y4qee8cyxarll0f7csz.jpg</File>
    <File>gf2tixsfebmr6jf3rhtea.jpg</File>
    <File>img105613cc7.gif</File>
    <File>img107832139.gif</File>
    <File>img2456ef8e6.gif</File>
    <File>img30ba65b31.gif</File>
    <File>img334908af4.gif</File>
    <File>img392ca29c5.gif</File>
    <File>img5cc09f553.gif</File>
    <File>img75d7c0208.gif</File>
    <File>imgf7cdb7c72.gif</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="103">http://xbrl.sec.gov/cef/2024</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
