forked from Adleraci/adlerka.top
Add survey
This commit is contained in:
parent
d049848bff
commit
c63b91f0cd
@ -713,6 +713,7 @@ async function deleteVoteMeme(memeId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function surveySubmit() {
|
async function surveySubmit() {
|
||||||
|
this.preventDefault();
|
||||||
const satisfaction = document.querySelector('input[name="satisfaction"]:checked').value;
|
const satisfaction = document.querySelector('input[name="satisfaction"]:checked').value;
|
||||||
const functionality = document.querySelector('input[name="functionality"]:checked').value;
|
const functionality = document.querySelector('input[name="functionality"]:checked').value;
|
||||||
const content = document.querySelector('input[name="content"]:checked').value;
|
const content = document.querySelector('input[name="content"]:checked').value;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
<label for="content_nanic">Nanič</label>
|
<label for="content_nanic">Nanič</label>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<textarea name="comment" placeholder="Komentár" cols="80" rows="20" required></textarea>
|
<textarea name="comment" placeholder="Komentár" cols="80" rows="10" required></textarea>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<button onclick="surveySubmit()">Odoslať</button>
|
<button onclick="surveySubmit()">Odoslať</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user