Hi I have a HTML link on my MVC3 View.
HTML
MVC3
I want to change its href property each time user clicks it.
href
$("a.tabs").click(function() { this.href = 'newhref'; return false; });
It is more efficient this way compared to @ocanal solution.
Source:
http://net.tutsplus.com/tutorials/javascript-ajax/14-helpful-jquery-tricks-notes-and-best-practices/