I think this should work, but no. Not sure what I'm doing.
function addURL () {$ (This) .attr ('href', function () {return.href + '& cylnders = 12';})}} Second, in your code "this" Instead, try this: one onclick = "addURL (this)" href = "/ search-results /? Var1 = red and var2 = leather" & Gt;; Lt; / a & gt; Click on function addURL (element) {$ (element) .attr ('href', function () {this.href + 'and cylnders = 12';});} / Pre>
Second, in your code "this" Instead, try this:
one onclick = "addURL (this)" href = "/ search-results /? Var1 = red and var2 = leather" & Gt;; Lt; / a & gt; Click on function addURL (element) {$ (element) .attr ('href', function () {this.href + 'and cylnders = 12';});} / Pre>
No comments:
Post a Comment