mysterious-toddler-20573
03/23/2021, 11:11 PMgentle-dream-18175
03/23/2021, 11:12 PMmysterious-toddler-20573
03/23/2021, 11:12 PMgentle-dream-18175
03/23/2021, 11:12 PMgentle-dream-18175
03/23/2021, 11:12 PMicy-spring-23787
03/23/2021, 11:17 PMicy-spring-23787
03/23/2021, 11:26 PMgentle-dream-18175
03/23/2021, 11:28 PMicy-spring-23787
03/23/2021, 11:34 PMgentle-dream-18175
03/24/2021, 12:14 AMearly-room-4768
03/24/2021, 5:38 AM<script>
htmx.on("htmx:beforeSend", function(evt) {
document.getElementById("pub").value = "new value"
console.log(document.getElementById("pub").value)
}
</script>
It prints the new value in console; but the backend still gets the old value. Is it possible to set new values before sending request to the backend?icy-spring-23787
03/24/2021, 6:31 AMicy-spring-23787
03/24/2021, 6:31 AMsalmon-whale-14625
03/24/2021, 7:59 AMmysterious-toddler-20573
03/24/2021, 2:32 PMsalmon-whale-14625
03/24/2021, 2:33 PMmysterious-toddler-20573
03/24/2021, 2:34 PMmysterious-toddler-20573
03/24/2021, 2:34 PMsalmon-whale-14625
03/25/2021, 7:39 AMglamorous-honey-42686
03/25/2021, 8:09 AMuser
03/25/2021, 4:22 PMuser
03/25/2021, 4:22 PMmysterious-toddler-20573
03/25/2021, 6:48 PMmysterious-toddler-20573
03/25/2021, 6:48 PMglamorous-honey-42686
03/25/2021, 8:52 PMglamorous-honey-42686
03/25/2021, 8:53 PMglamorous-honey-42686
03/25/2021, 9:12 PMglamorous-honey-42686
03/25/2021, 9:17 PMsalmon-whale-14625
03/26/2021, 12:20 AM