Save jquery value to Entity variable?

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
2 answers

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

Regards, Serhiy.


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.