EasyUI Forum
November 04, 2025, 01:04:36 AM *
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 / EasyUI for jQuery / Re: DateTimeBox in dialog window on: October 10, 2014, 08:04:13 AM
Thanks Jarry!  The href worked and I removed the .load

Here is the code that worked.

function openDialog(){
     
   var path = 'testLayoutDialog.html';
   //Open Window
   $("#managementwindow").dialog({href:path,modal:true,width:800,height:700,title:"My Test Date Box "});   
     
     
   }

The refresh method also worked:

   $('#managementwindow').dialog({
    title: 'My Test Date Box ',
    width: 800,
    height: 700,
    cache: false,
    href: path,
    modal: true
});
$('#managementwindow').dialog('refresh', path);

Thanks again!

Ron
2  General Category / EasyUI for jQuery / DateTimeBox in dialog window on: October 09, 2014, 07:50:18 AM
I am having problems having a DateTimebox work in a dialog window.

the DateTimeBox is in the testLayoutDialog.html page.

function openDialog(){
      
   var path = 'testLayoutDialog.html';
   //Open Window
   $("#managementwindow").load(path).dialog({modal:true,width:800,height:700,title:"My Test Date Box "});    
      
      
   }

Will the DateTimeBox work in a dialog window that is in a page that is loaded into the dialog window?


Thanks in advance for the help!


Ron
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!