Похожие чаты

No, I just need how I loop form action https://example.com/data.php

with 10 times with one click? @JustAnotherVagueAcronym

2 ответов

3 просмотра

You can get the value in a variable an iterate a for 10 times

Weird question but ok. Here's my two cents on two of the ways you can do it: 1. Ajax. Trigger the JavaScript POST function 10 times via a loop, the loop triggered by clicking the element at the element's onclick attribute. 2. Use GET method to pass the data to an invisible iframe element created in JavaScript. Visit the link + the GET paramaters. That way you can loop that visit 10 times, after each 'visit' is done, detected through the iframe.onload listener as the trigger for the next iteration, and know when the loop is done. Though you need to modify your PHP file then. It's also possible to make it POST still in the iframe but you can search that. This is long already to type out.

Похожие вопросы

Обсуждают сегодня

Вопрос по диагностике ошибок (я знаю в чем, в данном конкретном примере, я знаю, как исправить, пример модельный, понятно, что в реальности бывает намного запутаннее). module...
ⰄⰎⰋⰐⰐⰑⰛⰤⰧⰧⰩⰄ ⰊⰑⰁⰓⰡⰛⰦⰕⰫ
10
И ещё - определить, имеет ли он доступ к интернету очень просто - смотрим всех пользователей сети. И да, как оно без сети передаст данные в куда то?
BytePixel 🐧
15
Asus, норм фирма для ноутов?
Артем Записной
17
А чем вам питонисты не угодили?😂
.
79
Есть какой-нибудь для Delphi/FPC T*Compression(Decompression)Stream на базе LZ4/Zstd/любой другой быстрый(и хорошо сжимающий) алгоритм А ещё лучше в pure pascal А ещё лучше од...
notme
48
Hey everyone! How can I pass string from Rust to c++ function that expects std::string? When I'm passing CString the c++ functions tell that the string is empty
Jacob
16
Ясн. Но я всеравно к кедам отношусь с опасением. Чисто субьективное кедосозерцание. Что касаемо "восторга изяшности кед" так и не вкурил, хотя много слышал, пока не поставил с...
Артем Записной
30
Есть предложения, как подобное можно упростить?
Hemul GM
12
Why can't I send TELOS from my mexc account to my metamask account?
PUK AY
9
Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
Карта сайта