30 lines
641 B
HTML
Raw Normal View History

2024-05-16 21:26:25 +02:00
<div id="panels">
<div id="left_panel">
2024-05-20 19:16:00 +02:00
Zde budou uživatelé.
2024-05-16 21:26:25 +02:00
</div>
<div id="right_panel">
B
</div>
2024-05-20 19:16:00 +02:00
</div>
<script>
$.ajax
({
2024-05-20 20:07:28 +02:00
url: "./res/forum/api/list_users.php",
2024-05-20 19:16:00 +02:00
success: function(result)
{
$("#left_panel").html(result);
}
});
$("#left_panel").on("click", ".output", function(event)
{
$.ajax
({
url: "./res/forum/api/user_info.php?username=" + event.target.innerHTML,
success: function(result)
{
$("#right_panel").html(result);
}
});
});
2024-05-20 19:16:00 +02:00
</script>