Title: AJAX Window Post by: AJLX on July 16, 2018, 03:14:38 PM Is there a way I can return an entire window using AJAX?
I currently have this AJAX call: Code:
I have this PHP: Code: $type = $_POST['select']; // This is the select box option Ideally I could use each part of the case statement to return a different easyUI window. The reason for this is that I want to add a load of combo boxes that would be built dynamically based on the '$items' variable. This almost seems to work, but is missing something! Thanks! Title: Re: AJAX Window Post by: jarry on July 17, 2018, 05:00:08 PM No problem, you can get the html code from your server and parse it as an easyui component. Please refer to the code below:
Code: $.ajax({ Title: Re: AJAX Window Post by: AJLX on July 18, 2018, 12:47:07 AM Awesome- Thanks!
|