mercredi 25 mars 2015

HTML form: output # as part of URL

If type YZ56765ZX in the input field, the the form should generate URL:



http://ift.tt/1EW4go8


The form:



<form enctype="text/plain" action="http://ift.tt/1bvIn5o">
<input type="text" name="track-code#trackingIds" id="keys" />
<button type="submit">Search</button>
</form>


The problem is I unable to generate URL with # as part of it. The # will become %23 instead.


Aucun commentaire:

Enregistrer un commentaire