} $backButton = $jQuery->getPluginClass('button'); $backButton->setID('backButton'); $backButton->setText(IMAGE_BACK); $backButton->setHref(smn_href_link(FILENAME_ACCOUNT, 'ID=' . $store_id)); $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);