tabs: select a tab from a text link with a parameter
Hi,
I'm trying to select a tab from a text link, similar to this example:
var $tabs = $('#example').tabs(); // first tab selected
$('#my-text-link').click(function() { // bind click event to link
$tabs.tabs('select', 2); // switch to third tab
return false;
});
My html code looks like:
<a href="/people/2-steveodom/activities?account_id=29" id="my-text-
link">I want to open tab 2</a>
The problem is my account_id param isn't being passed to my
controller. If I remove the jquery function then the param gets passed
okay.
Any ideas of how I can keep that account_id param?
thanks,
Steve
http://ge.la.to