Originally posted by g forte:
I think you need an id for your form fields.
It worked. Thanks G.
Is following the right way to implement upload functionality:
I am able to get the file name and file content at server side. Now with some
string operations I get the extension then based on the extension I choose the image (icon of
doc, ppt, txt, pdf etc) to display to user and I set href to the same kind of file that has the content which I just got, and that is called when clicked on that image.
Hope that is clear.
Is there any better way?
Thanks.