02-12-2013 04:46 AM
Hi all. I have this weird problem using date input element.
var strAddEle = ""; strAddEle += '<p><input type="date" id="dateTo"></p>'; strAddEle += '<p><input type="date" id="dateFrom"></p>'; $('#mainBody').html(strAddEle);
when I test on 9900 device, I cannot click using trackpad on the input field to open up the date selection. But if I tap on the input field using the screen, the date selection will appear.
However if I include date input element directly into html. I can click using trackpad.
<body id="mainBody"> <p><input type="date" id="dateTo"></p> <p><input type="date" id="dateFrom"></p> </body>
Can anyone please advice? Thank you.
04-14-2014 02:24 PM - edited 04-14-2014 02:39 PM
I had the same issue for different input (for DropDown menus) with bbUI.js framework and I did some styling then refresh as they mentioned in their codes, after that worked fine.
I thought I would tell you about this so you may benifit from it.
it was like ...
var dropdown = document.getElementById("cars"); dropdown = bb.dropdown.style( dropdown ); bb.refresh();
Good Luck in your work.