1
Guys, I’m trying to take some specific URL’s on a page, and add a parameter at the end of the link, but I’m not succeeding, because it returns the object instead of the link string + the parameter.
I made a very simple example of the code:
var links = jQuery('a[href*="google.com"]');
links.attr('href', links + 'parametros_adicionais');
The execution of this code returns me the URL with this parameter at the end [Object%20Object]test
I wonder if you can help me?
You saved my face, and I’ve learned to use jQuery better. !
– thierry rene matos
@thierryrenematos of nothing, do not worry about that we’ve all had these doubts
– Miguel