View Single Post
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-27-2017 , 20:20   Re: [ PHP ] Insert text into input ?
#3

Well, I've tryed this, but did not work.

HTML Code:
<script type="text/javascript">
	function FileUpdate() {
		//$("#upload").text("text");
		//$("#upload").value($('#upload').value() + "New content!");
		document.getElementById('upload').text = "text";
	}
</script>

<input name="imgupload" id="upload" type="file" onchange="FileUpdate();"></input></p><br>
__________________








CrazY. is offline