I want to open the url in the same window, my code below works fine if i open the url in another tab, but when i added the _self
target to open it in the same window, it doesn't working :/
where is my error?
<input type="text" name="url" id="url" value="brad.jpg" onclick="this.value=''" /><br/><br/>
<input type="submit" onclick="javascript: window.open('http://MyURL.net/' + document.getElementById('url').value, '_self');">