In the view I have a div with id=my_user_id, so for example:
<div id='5'></div>
There is a way to change this id for the next request? So when I reload the page I get a number choosed by me, and not my_user_id.
Thank you.
In the view I have a div with id=my_user_id, so for example:
<div id='5'></div>
There is a way to change this id for the next request? So when I reload the page I get a number choosed by me, and not my_user_id.
Thank you.
If you want to change your div'id try this one: document.getElementById("5").id = 'newId';