133
rated 0 times
[
135]
[
2]
/ answers: 1 / hits: 54779
/ 12 Years ago, wed, august 8, 2012, 12:00:00
I am trying to change type of input, specifically after click into input I need to change type=text
to type=date
.
<input type=text placeholder=DOB id=dob name=dob />
<script>
$(#dob).click(function () {
$(this).attr('type', 'date');
});
</script>
I want to accomplish this for a iphone App. This is not working in iphone 4. How can do this?
More From » jquery