The major thing you would want is to have the selected file uploaded to the
server first before clear.
Think in that direction, maybe.
On Mon, Dec 28, 2009 at 9:14 PM, Rafael Taboada
wrote:
> u can change the event to onchange for example... code shows onclick
> because
> I have another button a
u can change the event to onchange for example... code shows onclick because
I have another button above the file upload to change its style. but the
main idea is to clear the value like javascript function shows
On Mon, Dec 28, 2009 at 11:11 AM, vineith kaul wrote:
> If I understand your questi
If I understand your question right, I think a reset button should do the
job right ?
something like this:
Vineith
On Mon, Dec 28, 2009 at 6:16 AM, Rafael Taboada
wrote:
> Puedes usar javascript:
>
> function limpiarText(){
> var idUpload=document.getElementById("idUpload");
> var frm=doc
Puedes usar javascript:
function limpiarText(){
var idUpload=document.getElementById("idUpload");
var frm=document.getElementById("frm");
idUpload.setAttribute("value","");
frm.reset();
}
On Mon, Dec 28, 2009 at 2:12 AM, Saeed Iqbal wrote:
> If you have not submitted t
If you have not submitted the form and you want this functionality
then you are talking about ajax file upload
struts doesnt provide ajax file upload but you can do that in struts
using other libraries
On Monday, December 28, 2009, Mageshwaran wrote:
> I have not submitted the form.
> I just onl
I have not submitted the form.
I just only selected the file using file dialog.
It would be helpful if you give the code snippet to implement in Java
Script.
Magesh.
Saeed Iqbal wrote:
It gets submitted after post
if you want to clear maybe use javascript to clear
On Monday, December 28,
It gets submitted after post
if you want to clear maybe use javascript to clear
On Monday, December 28, 2009, Mageshwaran wrote:
> Hi All,
> In my jsp code i had used " size="20" onkeypress = "killEvent(event)"/>" for file upload using IFrame.
>
> The issue is if i select a file using fil
Hi All,
In my jsp code i had used "label="File" size="20" onkeypress = "killEvent(event)"/>" for file
upload using IFrame.
The issue is if i select a file using file dialog, there is no option to
clear the selected text. Can any one help me how to clear the uploaded
file path text?
T
8 matches
Mail list logo