EasyUI Forum
November 06, 2025, 04:36:52 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / General Discussion / pass all variables from multiple tabs to php on: June 09, 2015, 05:30:50 AM
Hi,
I have a form with 3 tabs and I want to pass all input variables from these 3 tabs to a php.  I just discover only variables from first tab can be passed to php.  Please help?

Cheers,
2  General Category / EasyUI for jQuery / Re: getting datagrid data from php on: April 21, 2015, 10:32:55 PM
thank you and I found a solution and that is how I have done:
in html:
1) create a hidden field
2) stringify the datagrid array
3) assign stringify data to the hidden field

in php:
$temp = html_entity_decode($_REQUEST['myHiddenField']);
$dg = json_decode($temp);

foreach ($dg as &$dg1) {
        $dg1=get_object_vars($dg1);
        $date = $dg1['date'];
.
.
}
3  General Category / EasyUI for jQuery / getting datagrid data from php on: April 20, 2015, 06:15:37 PM
Hi,

I have the following datagrid in my html file:

<table id="dg" title="Service Items"
      toolbar="#toolbar" pagination="true" idField="sequence"
      rownumbers="true" fitColumns="true" singleSelect="true">
      <thead>
         <tr>
            <th field="date" width="10" >Date of Service</th>
            <th field="code" width="5" >Item</th>
            <th field="desc" width="30" >Description</th>
            <th field="amount" width="7" >Amount</th>
         </tr>
      </thead>
</table>
.
.
.
$(function(){
   $('#ff').form({
      url:'form1_proc.php',
.
.

How do I read this datagrid data from form1_proc.php file?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!