I have the following code to link a button to a specific URL.
stage_link = " 'http://limitless-scrubland-2940.herokuapp.com/game/game.html?stageid=5' "
<form action=stage_link method='get'>
<button>Play stage!</button>
</form>
The button renders fine, but it links to: "http://limitless-scrubland-2940.herokuapp.com/game/game.html"
Why is it that the query-string portion (?stageid=5
) gets truncated off? Is it possible to prevent this from happening?