Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to save the data from dialog box?
    primarykey
    data
    text
    <p>I have an accordion where the link of dialog box present, but when the dialog box open it didn't save the field and not redirecting, what's the issue? i tried a lot to figure out but didn't get any success.</p> <p>This is my view :</p> <pre><code>&lt;?php v_start($d);?&gt; &lt;script&gt; $(function() { var icons = { header: "ui-icon-circle-arrow-e", activeHeader: "ui-icon-circle-arrow-s" }; $( "#accordion" ).accordion({ icons: icons }); $( "#toggle" ).button().click(function() { if ( $( "#accordion" ).accordion( "option", "icons" ) ) { $( "#accordion" ).accordion( "option", "icons", null ); } else { $( "#accordion" ).accordion( "option", "icons", icons ); } }); }); $(function() { var $dialog = $("#view_dialog").dialog({ autoOpen: false, title: 'Add Group', height: 200, width: 1200, resizable: true, modal: true, buttons: { "Ok": function() { $(this).dialog("close"); } } }); $(".view_dialog").click(function() { $dialog.load($(this).attr('href'), function () { $dialog.dialog('open'); }); return false; }); }); &lt;/script&gt; &lt;div class="inner-heading"&gt; &lt;div class="inner-heading-left"&gt; &lt;h1&gt;&lt;?php echo __l('Manage Groups');?&gt;&lt;/h1&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="accordion"&gt; &lt;div&gt; &lt;h3 style="margin-right: 0PX; margin-left: 30px; font-size:20px;"&gt;&lt;?php echo __l('User Define Group') ?&gt;&lt;/h3&gt; &lt;/div&gt; &lt;div class="firsttable"&gt; &lt;div class="top-button"&gt; //dialog link &lt;?php echo $this-&gt;Manager-&gt;hlink('Add Group', array('action' =&gt; 'add_define_group'), array('class' =&gt; 'view_dialog')); ?&gt; &lt;?php echo $this-&gt;Manager-&gt;link('Add Group',array('action'=&gt;'add_define_group')) ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;div&gt; &lt;h3 style="margin-right: 0PX; margin-left: 30px; font-size:20px;"&gt;&lt;?php echo __l('Mailing Group') ?&gt;&lt;/h3&gt; &lt;/div&gt; &lt;div class="firsttable"&gt; &lt;div class="top-button"&gt; &lt;?php echo $this-&gt;Manager-&gt;link('Add Group',array('contoller'=&gt;'ContactGroups','action'=&gt;'add_define_group','mailing')) ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;div&gt; &lt;h3 style="margin-right: 0PX; margin-left: 30px; font-size:20px;"&gt;&lt;?php echo __l('Dynamic Group') ?&gt;&lt;/h3&gt; &lt;/div&gt; &lt;div class="firsttable"&gt; &lt;div class="top-button"&gt; &lt;?php echo $this-&gt;Manager-&gt;link('Add Group',array('contoller'=&gt;'ContactGroups','action'=&gt;'add_define_dynamic_group')) ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="view_dialog"&gt;&lt;/div&gt; &lt;/div&gt; &lt;?php v_end();?&gt; </code></pre> <p>Bascially i trying to open the dialog box in the accordion , dialogbox will save the data and redirect it, but it didn't save any data and didn't redirect, what can i do with that? Any body's help will be appreciated, thanks a lot in advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload