Outline ·
[ Standard ] ·
Linear+
jscript question, display dialog box for selecting file
TSnazo
|
Feb 23 2006, 10:01 AM, updated 19y ago
|
Getting Started
|
I`m sure u guys hav seen some web pages wher they let u upload files from the local machine to the server. They usually put a button that when u click on it, it brings up a dialog box for u to select a file to upload. Like when u want to upload yor avatar here on LowYat.
My question is, how do u bring up that open file dialog in jscript?
|
|
|
|
TheUrbNorm
|
Feb 23 2006, 11:24 AM
|
|
u just need <input="file"/> no??? why need javascript???
but also ensure that the form element is a multipart/form-data
not sure whether this answer ur question or not
This post has been edited by TheUrbNorm: Feb 23 2006, 11:26 AM
|
|
|
|
TSnazo
|
Feb 23 2006, 04:12 PM
|
Getting Started
|
thank u for the help. I thot i need some script to do it. silly me
|
|
|
|