[Pas2js] onevent question
    Michael Van Canneyt 
    michael at freepascal.org
       
    Mon Sep  7 15:44:04 CEST 2020
    
    
  
On Mon, 7 Sep 2020, Mgr. Janusz Chmiel wrote:
> Do I have The chance to test some variable, which contain text by using
> value from editable field without using onevent? I have found out, that very
> probably really no. Because no if then condition work. Even The condition
> which detect if some variable is <> '', condition block simply do not work.
> So really, I can not use condition blocks which will examine some variable
> which contain text from editable fied without using events?
I don't understand your question ?
var
   Edt : TJSHTMLInputElement;
begin
   If Edt.Value<>'' then
     DoSomething;
end;
Always works.
Michael.
    
    
More information about the Pas2js
mailing list