title: JQuery UI Tabs - Modify link for tab
body: <p>Is there a way to modify the link to a tab in jquery ui through jquery/javascript?</p>
  
  <p>For example, my page layout has a query mechanism at the top, with several tabs underneath it.  When the user submits the query, I'd like append the query string to each of the tab links.  This works fine if I do full page refreshes when I submit the query, I just plug the query string in the link as the tabs are being built.  However, if I try to submit and get my results asynchronously, I need my tabs links to get updated.  </p>
  
  <p>Below is a snippet of my button click event event, I build a query string, then submit it like this:</p>
  
  <pre><code>    $.ajax({
                  url: "/MyController/" + actionPrefix + "Index?q=" + query + extraParm + "#ui-tabs-" + selectedTab,
                  cache: false,
                  success: function(html) {
                      $(list).remove();
                      $(container).append(html);
                      $('li a.actionLink').unbind('click').click(function() {
                          //This was some code I was playing with to change tab links, but couldn't seem to get it working...                        
                      });
                  }
              });
  </code></pre>