how function in button calling then i update variables which use in programm
I have a button that, when clicked, calls a SSE function that returns nothing. the function looks like this:
= if ((variable1<>'' and variable2<>''), Server.ScriptEvalStr('Classname.Classname("$(variable1)").result()'),null())
This function pushes the value variable1 to the database on the server.
This function works, but it is called when i change the value of variable 1 and variable 2 using input, but when i click on the button itself nothing happens