$buildLinkButton = $jQuery->getPluginClass('button');
$buildLinkButton->setID('buildLinkButton');
$buildLinkButton->setText('Build Link');
$buildLinkButton->setType('submit');
$helpButton = $jQuery->getPluginClass('button');
$helpButton->setID('helpButton');
$helpButton->setText('Help');
$tabPanel->addFooterButton($backButton);
$tabPanel->addFooterButton($helpButton);
$tabPanel->setHelpButton('helpButton', true);
echo $jQuery->getHeadOutput();
?>
<script language="Javascript">
$(document).ready(function (){
<?php 
echo $jQuery->getScriptOutput();
?>
  $('#form-buildLink').ajaxForm({
      dataType: 'json',
      cache: false,
      success: function (data, textStatus){
          var $bannerOutput = $('#bannerOutput').clone();
          $bannerOutput.find('#products_name').html(data.products_name);
          $bannerOutput.find('span[id="link"]').html(data.link);
          $bannerOutput.find('textarea[id="link1"]').val(data.link1);
          $bannerOutput.find('span[id="link2"]').html(data.link2);
          $bannerOutput.find('textarea[id="link2"]').val(data.link2);
              
          $('#bannerOutputListing').append($bannerOutput);
          $bannerOutput.show();
      },