Skip to content Skip to sidebar Skip to footer

Clear IOS 6 Image Thumbnail

Since iOS 6 it is possible to use the to access the photo library. I use this to upload images to a wall, through an UIWebView. Works fine. The input elem

Solution 1:

I am able to have reset work on the containing form. I just did a simple test on my device using webkit inspector attached to it.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>upload</title>
    <style>
    html, body {
        width: 300px;
    }
    </style>
</head>
<body>

<form id="con">
<input id="tgt" type="file" />
</form>

</body>
</html>

I used the simple html above, then the following javascript in the inspector:

var con = document.getElementById('con');
con.reset();

Using that removed the thumbnail image for me. I've included an example with inline code here: http://www.mixicon.com/downloads/input.html


Post a Comment for "Clear IOS 6 Image Thumbnail"