I have a hidden attribute, which I put through a java method:
<input type="hidden" id="url" th:value="${url}" />
And I want to put an input of type text
whose value will be the value that is in the hidden "url"
<input type="text" id= "textUrl" name="url" th:value="${url}" readonly="readonly" style="visibility:visible;"/>
But it gives me problems, since it never shows the URL value but instead it shows a text box that is always empty. I guess the problem will be in the form of passing the value to him but I do not see it ...