Problem with calendar


#1

I have a problem with this issue that when I want to send text with JsRun function to html page (JsRun function and text placed in delphi and I want to run text in html page ) it dos not work however it works in html page alone.
//---------------------------------------------------------------
function JsRun(HParam,PlaceID){
document.getElementById(PlaceID).innerHTML = HParam;
}
//--------------------------------------------------------------
text:=’<div class=’‘list no-hairlines-md’’>

<div class=’‘item-content item-input’’><div class=’‘item-inner’’><div class=’‘item-input-wrap’’> ‘+
‘<input type=’‘text’’ placeholder=’‘Your birth date’’ id=’‘demo-calendar-default’’ readonly=’’’’>’+
‘

’;

JsRun("’ + txt + ‘", “tab-3’ + '”);