1
I have a variable called Lastclass, it can have the value of headerSortDown or headerSortUp. I’m rescuing her from an orderly column.
I want to transfer this variable to a <a href>
but wanted to change her text.
For example instead of staying href="produto=headerSortDown"
stick around href="produto=Down"
.
This variable changes dynamically as the user orders the DESC or ASC column. I can already dynamically rescue this.
There’s a way I could use one if
or something like that to be able to change the name of the variable’s value and so put in the href
?
It worked @Sergio, thank you
– Douglas Medeiros