<button onclick="document.getElementById(\'"+HiddenButton.Id+"\').click();">Click Me</button>
<button type="buttton" onclick="document.getElementById(\'"+HiddenButton.Id+"\').click();">Click Me</button>
hello,
I have below code and I want to pass the parameter($parameters.Facility) on an onClick event. Could you please help me how should get the parameter?
$parameters.InfoWindowContent ="<div class='_map-infowindow'>" + "<div class='facility'>"+ $parameters.Facility +"</div>"+ "<div class='address'>"+ $parameters.Address+"</div>" + "<button onclick='document.getElementById(\""+ $parameters.HiddenButtonId +"\").click();' class='btn btn-primary'>Express</button>" +"</div>";
sandip rathod wrote:
Hi Sandip,
Did you manage to pass value for parameter?
If yes, can you please share the code