Results 1 to 2 of 2

Thread: browse button??

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Hellmer/Quebec/Canada
    Posts
    32

    Question

    here's my body of my html file
    Code:
    <BODY>
    <form name="test">
    	<table width=80%>
    	<tr>
    		<td align="left">
    		<INPUT type="button" name="save" value="Save">
    		</td>
    	</tr>
    	<tr>
    		<td align="center">
    		<textarea name="output" rows=20 cols=100></textarea>
    		</td>
    	</tr>
    	<tr>
    		<td align="center">
    		<INPUT type="button" name="replace" value="Replace special characters" onClick="doit()">
    		</td>
    	</tr>
    	<tr>
    		<td align="center">
    		<INPUT type="button" name="browse" value="Browse...">
    		</td>
    	</tr>
    	</table>
    </form>
    </body>

    Alright...with the browse button...I want to open the browse window and put the text of the file selected in the textarea. After changes, I click the save button and I want the save window to appear. How can I do that????
    Forza Scuderia Ferrari

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    you might try using this:

    Code:
    <input type="file">
    By the way, where are you trying to get the file from? Client side?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width