Jump to content

Set JS Property in Delphi Code.


cristianotestai

Recommended Posts

Hello Farshad,

 

How can I set a value for a variable to a JS Object in Delphi?

Example:

I have a "UniPanel" and in the event afterrender i declare a property to the UniPanel.

 

OnAfterrender function (sender)

{

sender.UsuId = 0;

}

 

In my home, after the user presses the login button, I need to update the property UsuId of UniPanel, which will be used later in clientside scripting ..

How to accomplish this?

 

Thanks again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...