Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 21st, 2004, 08:12 PM
Registered User
 
Join Date: Dec 2004
Location: Hyderabad, Andhra pradesh, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sasikn75 Send a message via Yahoo to Sasikn75
Default File attachment like as in gmail

My name is sasi kumar.I am trying to dovelope code just like gmail attachemnt in java/javascript but it gets browes button. I want tomake it exactly in gmail plz help me

 mail id SASIKN75@GMAIL>COM

SASIKUMAR
 
Old January 5th, 2007, 12:39 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

HAI SASIKUMAR,
Today only i saw your post, did u found any solution, if not try this,
i think this will help you.

<html>
<head>
    <title>File Upload Example</title>
    <script language="JavaScript" type="text/javascript">
    function HandleFileButtonClick()
    {
        document.frmUpload.myFile.click();
        document.frmUpload.txtFakeText.value = document.frmUpload.myFile.value;
    }
    </script>
</head>
<body>
  <form name="frmUpload">
    <input type="file" name="myFile" style="display: none">
    <input type="text" name="txtFakeText" readonly="true">
    <a href="javascript:HandleFileButtonClick();">Attach</a>
  </form>
</body>
</html>

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com




Similar Threads
Thread Thread Starter Forum Replies Last Post
Renaming an Email File Attachment jpwalters C# 1 May 21st, 2008 12:43 PM
How to avoid file download box for attachment Gnanamani Servlets 6 December 24th, 2007 06:46 AM
how to browse a file from computer for attachment? rocksbhavesh ASP.NET 1.0 and 1.1 Professional 2 March 26th, 2007 08:47 AM
EMail (CDONTS) File Attachment is blank Jorge Classic ASP Components 1 March 11th, 2004 03:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.