JAVASCRIPT
35
document ready function
Guest on 17th September 2023 09:37:48 PM
$(document).ready(function(){
$("li").click(function(){
document.getElementById("test").innerHTML = $(this).index();
});
});
Raw Paste
Login or Register to edit or fork this paste. It's free.