Public Sub dato(ss As Int)
WelcomeModalMessage.Text = "suma " & ss
WelcomeModal.Open
End Sub
-------------------
In 'SERVERTemplate':
public Sub Suma_BAN(params As Map)
Dim n1 As Int = params.Get("counter")
Dim suma As Int = n1 + 10
ws.RunFunctionWithResult("dato",Array(suma))
ws.Flush
End Sub
-----------------------------------------------
I don't know if I'm doing things right, I'm really trying to find a way to communicate both sides and then include other methods and show results on the page.
Yes, you are right, I had an error in the console, it was pointing to another port, I am going to do tests to practice how to show data from the server to the page, if I have any other questions I will ask.