forked from Adleraci/adlerka.top
Remove id
This commit is contained in:
parent
69250ff804
commit
b8323683f8
@ -16,7 +16,6 @@
|
||||
}
|
||||
|
||||
function updateUserProfile() {
|
||||
const userId = document.getElementById("updateUserIdProfile").value;
|
||||
const firstName = document.getElementById("updateFirstName").value;
|
||||
const lastName = document.getElementById("updateLastName").value;
|
||||
const nickname = document.getElementById("updateNickname").value;
|
||||
@ -24,7 +23,6 @@
|
||||
|
||||
const data = new URLSearchParams();
|
||||
data.append("action", "update_user_profile");
|
||||
data.append("user_id", userId);
|
||||
data.append("first_name", firstName);
|
||||
data.append("last_name", lastName);
|
||||
data.append("nickname", nickname);
|
||||
@ -100,9 +98,6 @@
|
||||
<div class="form-container" id="updateUserProfileForm">
|
||||
<h1>Update User Profile</h1>
|
||||
<form>
|
||||
<label for="updateUserIdProfile">User ID:</label>
|
||||
<input type="text" id="updateUserIdProfile" name="updateUserIdProfile" required><br>
|
||||
|
||||
<label for="updateFirstName">First Name:</label>
|
||||
<input type="text" id="updateFirstName" name="updateFirstName" required><br>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user