When I submit empty form using GET
method, browser adds ?
symbol to the end of URL
.
http://my-site.com/viewApp/1?
My form
$('body').append($('<form/>')
.attr("target","_blank")
.attr({'action': 'viewApp/'+appId, 'method': 'get', 'id': 'replacer'})
).find('#replacer').submit();
I would like to get URL
without ?
symbol. How can I clean my URL
?