Major issue i notice is when running javascript, weird things happen. For example, on input in text field, i want place placeholder. Usually, a simple jquery did the job and works well on desktop browser, including the mobile chrome browser, but not in the stock browser(Samsung default browers). after entering some characters the browser just stop all javascript processing. any one facing this issue...
<div class="holder">Email Address </div>
<input type="text" class="form-control" id="email" name="email" maxlength="45" value="" >
$("form input").each(function() {
if ($(this).val()) {
$(this).prev('.holder').hide();
} else {
$(this).prev('.holder').show();
}
$(this).on('input', function() {
if ($(this).val() || $(this).text().length > 0) {
$(this).prev('.holder').hide();
} else {
$(this).prev('.holder').show();
}
});
$(".holder").click(function() {
$(this).next().focus();
});
});
http://jsfiddle.net/thiru715/g263W/1/
Any one faces this issues please send me the solution......