EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jvels on September 05, 2013, 12:48:15 AM



Title: Tabs - refresh
Post by: jvels on September 05, 2013, 12:48:15 AM
Hi

I need some advice to work with tabs.

I have two tabs. At the first tab I have added a datagrid, where I add useres.

At tab two I have a form, where one of the fields (dropdown menu) at the from contains data there are added from the data grid.

The drop down conten should be populated from the database ( I guess some ajax in PHP).

But if I add new data in the datagrid, how do I then "refresh" the content at the tab with the form??

Any ideas/advice

/Jesper


Title: Re: Tabs - refresh
Post by: jvels on September 05, 2013, 01:00:40 PM
Hi

Think I have found a solution I have added this to a tab:

Code:
data-options="href:'FILE.php', cache:false"

When I load the page, I see the content of FILE.php, then I change the contents, and then jump to another tab, and then go back :) and then I see the new content of FILE.php

/JEsper