Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    84
    Thanks
    5
    Thanked 0 Times in 0 Posts

    is it possible to do 2 href's at once?

    Hello,

    On a button i want a link to submit 2 things, i want it load an iframe page and submit a file uploader, is it possible to do 2 things at once?

    Thanks

  • #2
    Regular Coder Kristofa's Avatar
    Join Date
    Jun 2009
    Location
    Leicester
    Posts
    143
    Thanks
    7
    Thanked 20 Times in 20 Posts
    With Javascript certainly.

    onClick="function()"

    That would be one way of doing it. With xhtml, I don't know.
    Learning along the way...

  • #3
    New Coder
    Join Date
    Jan 2009
    Posts
    84
    Thanks
    5
    Thanked 0 Times in 0 Posts
    well this is what im working on: http://playelite.org/upload/index.php

    i want it to submit the upload as well as submit a certain page in that iframe below.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    So you just want to load the url of the uploaded image into the iframe automatically rather than having them click on the "View Uploaded Image" link?
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    New Coder
    Join Date
    Jan 2009
    Posts
    84
    Thanks
    5
    Thanked 0 Times in 0 Posts
    no, i want it to submit the upload aswell as load a page in the iframe, i want the iframe page to be: pleasewait.html and the frame will say 'Your file is being uploaded, please be patient'


  •  

    Posting Permissions

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