Ask questions and get good answers on jQuery

I am using plugin mb.tabset and loading the content for each tab via ajax with parameters. For this it works very well.

Is it possible to use a click event from within the ajax content loaded for the tab and then to redraw the tab using
$('#a').mb_changeContainerContent({ajaxContent:gwpUrl, ajaxData:ajaxD}); $('#a').mb_drawAjaxContent();

Thankyou

asked May 11 '10 at 23:27

Glen%20R's gravatar image

Glen R
1


As you can see on the Demo, at the bottom of tab 2, there's a (not really visible) text: "change content"; it does exactly what you are looking for:

<span onclick="$('#b').mb_changeContent('content_3.html','');$('#b').mb_drawAjaxContent();">change content</span>

answered May 12 '10 at 08:07

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

edited May 12 '10 at 09:19

I have problem with jquery.mb.tabset in IE8-7 the ajax call work just in ONE TABE,I have 2 other Ajax tabes that the browser dosn't call them.

in Mozilla it works fine!.

answered Jun 14 '10 at 05:51

samih's gravatar image

samih
1

Your answer
toggle preview

jQuery main site - Matteo Bicocchi