I want a link that submits some POST data. This works:
& lt; A href = "#" onclick = "document.forms [0] .fu = 42; document.forms [0]. Submit (); return" & gt; Bar & lt; / A & gt; However, if I middle-click on links created in that way (Google Chrome: open link in new tab), the page does not open in a new tab; Rather, the link gets in the current tab. It's not good and it's unexpected behavior to boot (one hopes mid-click will work on someone else like this link).
How can I make this link like a real link, in particular, by making the behavior of this middle-click behavior as usual?
You probably have to handle that argument manually in the occloke event, by pressing the button to find out and accordingly To behave.
Comments
Post a Comment