Open Native calender using javascript when clicked on container or icon

Hi Team ,

I am trying to open native calender .

Its working fine in android devices but when i am trying in iOS 

its failing .

Please check below images for more details ,

1)


2)Can some please let me ,what or where i am lacking ,

Regards, 

Vivek

Solution

Hi Vivek,

Instead of Click event you can call the focus event 

document.getElementById($parameters.IdInput).click(); this one work for android device 

document.getElementById($parameters.IdInput).focus();  this one work for Ios device


Regards,

Dhineshkumar

Solution