SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru johnjohn2's Avatar
    Join Date
    Apr 2004
    Location
    here
    Posts
    746
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    on page load enter text in a form field

    because of the security settings in browsers i can't set the default path value of a file upload field in a form. i was wondering if there is a way to have javascript type one in when the page loads?

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    No, at least not with Firefox (I just tried). Also, it's not a good idea to override things that are there in place to make the user's browsing safer, or simply to change things that users expect.

  3. #3
    SitePoint Guru johnjohn2's Avatar
    Join Date
    Apr 2004
    Location
    here
    Posts
    746
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'm trying to automate some file uploads on our company's intranet. there aren't any users that have access to this page. i just need it to work in ie.

  4. #4
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Have a look at this: http://support.microsoft.com/kb/266087 Looks like it can be done with ActiveX though it doesn't say how. This link seems to provide a solution: http://www.builderau.com.au/webdev/s...9170922,00.htm


Bookmarks

Posting Permissions

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