The tab and practical code based on jquery