Feedback on: irt.org FAQ Knowledge Base Q764
Worth:
Very worth reading
Length:
Too short
Technical:
Not technical enough
Comments:
This piece of Javascript is incomplete and therefor not adequate as an answer to the question.
Worth:
Worth reading
Comments:
That isn't right! The (short) script answers the question "how to load an image with a form button" but fails to answer how to force the download. To address the question one must address HTTP >1.0 headers...
Comments:
it is Image() not Images()
and it will only CACHE the image, not acually prompt the user to save it.
To do that you need the server to use the mime header
application/octet-stream