FindComponent doesn't return a component if you search a TWebHtmlDiv component.
I have a TWebHTMLDiv (thediv)
when use
var
acomp : TComponent;
begin
acomp := FindComponent('thediv');
acomp is always null;
end;
FindComponent doesn't return a component if you search a TWebHtmlDiv component.
I have a TWebHTMLDiv (thediv)
when use
var
acomp : TComponent;
begin
acomp := FindComponent('thediv');
acomp is always null;
end;
Is this DIV mapped onto a DIV element in the form template?
If so, use document.getElementById()
I'm ok but it forces me to change all structure, because I manage Div with component TWebHtmlDiv and not from TJSElement.
Thanks anyway.