Got here via SO which unfortunately didn't bring a useful answer but did point me to doctype, thanks for that ! Like the original Q I need a way to code a clear button in a mobile safari input box like the red circled button below :

alt text the google code is too obfuscated to be readable (why ?)

please note the bold mobile safari in my Q, it needs to run on my phone, no need for desktop solutions.

1 answer

Ktash 1851
1
point

Here's a JSFiddle that might help with things. Its got the concept down, but it would need a bit of tweaking. Just tested it on my iPod, and it seems to display mostly fine. Now, this is how I would do it because I come from a desktop environment, and it works on mobile. Someone here may be able to point you in the direction of a Safari CSS or DOM extension that does this that I don't know about.

Answered about 8 years ago by Ktash
  • Thanks mate, I already didsome hefty css search but somehow mobile safari doesn't support this yet. Which I guess is why google is also coding around it. I'm gonna give your code a try, thanks again ! Motoindo about 8 years ago