本文实例讲述了jQuery实现的简单获取索引功能。分享给大家供大家参考,具体如下: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus:registered:"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description"