Is there a way to send div data in form method=post
?
Below is the Ravel code.
I would like to send divid="tetsuya"
, is there a good way?
Do I have no choice but to use hidden and insert it?
<form method="post" action={{route('output')}}>
@csrf
<input type="text" id="komuro" name="kei" value="">
<divid="tetsuya">63</div>
</form>
The formdata
event is simple.
form.addEventListener('formdata'e=>{
e.formData.append('mitsuko', document.querySelector('#tetsuya').textContent);
});
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
709 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.