I\'ve been trying to add placeholder in input type=\'datetime-local\' field but it doesn\'t work at all. Use css for solving the issue but still unable to do it :(
Sharath Daniel is on the right lines. A jQuery version: http://jsfiddle.net/2e97L3d0/1/
HTML
Javascript
$(document).ready(function(){ $("#datetime1").focus( function() { $(this).attr({type: 'datetime-local'}); });
});