开发者

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

开发者 https://www.devze.com 2022-12-21 23:12 出处:网络
Does anyone have any ideas about how I could go about randomising an list each time the page is refreshed?

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

精彩评论

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