Code: Select all
string elementId = "INTERNAL_RootElement"; //todo: Replace with the ID of the DIV that you want to access.
dynamic div = JSIL.Verbatim.Expression("document.getElementById($0)", elementId);
string textToDisplay = "The ID is: " + (string)div.id;
MessageBox.Show(@"""JSIL.Verbatim.Expression"" is not supported when running in the simulator.");
Users browsing this forum: No registered users and 2 guests