I want to send a value with a link in a submit form. The form method is post and I like to keep it that way, otherwise my problem would have been pretty easy using something like “?myvale=1”.
So this code illustrates what I wan’t:
<a href="#" name="submit value="1" onclick="document.editDelete.submit()" class="button icon edit">Test</a>
How can I accomplish what I want with javascript or something like that?
Why not set a hidden form value in a submit handler?
(Adjust names/etc. to match your HTML.)