Save jquery value to Entity variable?

0
Hi, I have a jquery value that I would like to store in an entity variable in my domain model, how do I do this in the easiest way? kr Thomas
asked
2 answers
1

Hi Thomas,

You can just use a string attribute, to store default value:

But that depends on what you are trying to achieve.
There are a lot of possibilities with Mendix to use jQuery or other features as example widgets, etc.


Here some examples, short documentation https://docs.mendix.com/appstore/widgets/html-javascript-snippet

Regards, Serhiy.

answered
0

Thanks! But I cant still figure out how to store my jquery value in a entity attribute.

I have some jquery code in a Javascript Snippet and this stringValue that I would like to save.

var stringValue=  rangeSlider.value;

When I press the Save button in my Dataview I would like the value to be stored in my entity Growth_Weight with attribute Weight.

answered