Was not sure if this was supposed to go into this section or the HTML section
Hey ya guys and gals. Got something I'm trying to do but can't figure it out. Basically I got a page where there is a form with various things but I noticed that if wanted to clear a field for the file upload i can't because when i click on it, it opens a new window to browse to file. How do I do a 'clear' button or a different method for doing an upload field? Or how do I make a 'browse' button? I tried to Google it but I didn't see what I was looking for, at least not with out using java and I'm sure there is some inherit function or something that might work, ~shrugs~ I have no idea. Here is what I'm doing:
In any case, it has nothing to do at all with PHP, so I have moved the topic to Javascript.
PHP executes on the server, so by the time a page is being viewed by the user (who might want to reset fields) it is far too late for PHP to do anything.