The trithorax group (TrxG) complex is an important protein in the regulation of plant histone methylation. The ABSENT, SMALL, OR HOMEOTIC DISCS 1 (ASH1) gene family, as important family members of the TrxG complex, has been shown to regulate tolerance to abiotic stress and growth and development in many plants. In this study, we identified nine GhASH1s in upland cotton. Bioinformatics analysis revealed that GhASH1s contain a variety of cis-acting elements related to stress resistance and growth and development. The transcriptome expression profiles revealed that GhASHH1.A and GhASHH2.A genes expression were upregulated in flower organs and in response to external temperature stress. The results of virus-induced gene silencing (VIGS) indicated that GhASHH1.A and GhASHH2.A genes silencing reduced the ability of cotton to adapt to temperature stress and delayed the development of the flowering phenotype. We also showed that the silencing of these two target genes did not induce early flowering at high temperature (32 °C), suggesting that GhASHH1.A and GhASHH2.A might regulate cotton flowering in response to temperature. These findings provide genetic resources for future breeding of early-maturing and temperature-stress-tolerant cotton varieties.