Jump to content


  • Posts

  • Joined

  • Last visited

sarojthapa60's Achievements


Member (2/5)



  1. Hi, I have an app that is in development phase created using php and javascript. I have a couple of plugins - dataTable and exportTable added in the web app. The app has multiple tabs. So far, I have a fairly simple login page that is not even connected to the database. I am thinking about using Laravel framework and build the app on top of it. Will I have to just configure the index.php file in Laravel's public directory and drop all the used files in public directory or I will have to work with each files in Views, Controller, and public? How hard or difficult would that be? Thanks
  2. I have 5 dropdowns on a tab of a website. I have a database table in MS SQL Server. The table has all the data of 5 dropdowns with one of the fieldNames called Region_Name, say the Region_Names are A, B, C, D, and E. I have written codes to display a table and enabled row editing for one of the RegionNames. Now, I am wondering if I could modify the same codes to display associated table with row editing enabled using different queries when a dropdown is clicked. That could reduce the code repetition and improve the performance. But I do not know how to achieve this. Could anyone please give me some hints? I am using PHP PDO to connect to the database.
  3. I have a Datatables using HTML (DOM) sourced data. I have 30 columns in my table. I have a print button, button when I print about 6 columns do not fit. Also, some cells have background colors. How can I customize this Print function so that I can print 11 by 17 preserving the background colors of the cells? My script for Datatables: <script> $(document).ready(function() { $('#myTable').DataTable( { "order": [[0, "asc"]], "paging": false, "scrollCollapse": true, "columnDefs": [{ "targets": [0], "visible": false, "searchable": false }], dom: 'Bfrtip', buttons: [ { extend: 'print', text: 'Print', } ] } ); } ); </script>
  4. My app has multiple navigation menus on the home page. The menus are created using <ul><li>. I want to open the tabs on the same parent page on the main section of the page. How can I use AJAX to do so?
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.