how to display 'loading' before content from jquery tabs is loaded

前端 未结 6 1513
灰色年华
灰色年华 2021-02-09 03:09

I am using jquery UI tabs and content loaded into the tab is on another page. so it is loading via ajax. There is some lag between the page loading during which the part of the

6条回答
  •  被撕碎了的回忆
    2021-02-09 03:27

    There's no need to do extra stuff, just add span tag insdie your anchors. i think it's missed in jQuery's documentation.

    example:

    
    
    
    

    span tags are the important part.

提交回复
热议问题