开发者

How can I randomise <li> elements on page refresh?

Does anyone have any ideas about how I could go about randomising an list each time the page is refreshed?

A jQuery solution would be perfect as I'm 开发者_JAVA技巧already using it.

Any advice appreciated!


You could take a look at this Shuffle plugin

$('ul').shuffle();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜