Show/Hide span on the same spot

前端 未结 2 1582
后悔当初
后悔当初 2021-01-22 16:02

I am using jQuery to show or hide a span. But I want the

to appear in the same place as the link I click. The current code actually shows the <
2条回答
  •  渐次进展
    2021-01-22 16:48

    this can be your HTML part:

    Japan
    
        
        Close
    
    is made up of islands, regions, prefectures (government districts), cities, and surrounding communities. The main island, Honshu, has thirty-four prefectures making up five regions. The
    TÅhoku Region
    
        
        Close
    
    

    and this can be your script part:

    
    
                                     
                  
提交回复
热议问题