[Pas2js] web.pas
Michael Van Canneyt
michael at freepascal.org
Wed Feb 6 13:41:13 CET 2019
On Wed, 6 Feb 2019, pas2js at gauns.org wrote:
> Hi Silvio,
>
> thanks for your answer,
> just one more question
>
>>> TJSNode
>>> property value : String Read FValue Write FValue;
>>
>> The "value" is not part of Node interface [1].
>
> how can i set the contents of an input field without this modification,
> till now i did
>
> .value := "something";
Typecast your HTML element to TJSHTMLInputElement. It has 'value'.
Michael.
More information about the Pas2js
mailing list