B Mathur's Profile
Team Leader
1729
Points

Questions
33

Answers
183

    • 11 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 16 hours ago in HTML.

     

    I have removed header & footer from print pdf using the below css.

    <style type="text/css" media="print">@page
    
    {
    
    size:8.5in 11in;
    
    margin: 0
    
    }
    </style>
    

     

    • 10 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on May 29, 2019 in TECHNOLOGY.

    A reseller account is a special cPanel account that gives unique privileges to its users. Essentially, it’s a cPanel account that sells other cPanel accounts. This means that it gives website owners the ability to also serve as hosting providers using system resources that they’ve purchased from their hosting providers.
    Call: 9733154713

    • 123 views
    • 1 answers
    • 1 votes
  • Team Leader Asked on May 29, 2019 in JQUERY.

     

    <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
    
    <script src="http://cdn.ckeditor.com/4.5.9/standard/ckeditor.js"></script>
    <form>
    
    <textarea name="editor1" id="editor1" rows="10" cols="80">
    
    This is my textarea to be replaced with CKEditor.
    
    </textarea>
    
    <button type="button" id="getDataBtn">Get Data</button>
    </form>
    
    <script>
    CKEDITOR.replace( 'editor1' );
    $(document).ready(function(){
    $("#getDataBtn").click(function(){
    
    var editorData= CKEDITOR.instances['editor1'].getData();
    
    alert(" your data is :"+editorData);
    
    })
    });
    
    </script>
    

     

    • 26 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on May 24, 2019 in MAGENTO.

    Please remove extension=php_intl.dll from php.ini and restart your apache server

    • 46 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on April 19, 2019 in JSON.

     

    <?php
    
    // JSON string
    
    $JSON = '[{"name":"Suman","gender":"male"},{"name":"William","gender":"male"},{"name":"Sara","gender":"female"}]';
    // Convert JSON string to Object
    
    $someObject = json_decode($JSON);
    
    print_r($someObject); // Dump all data of the Object
    
    echo $someObject[0]->name; // Access Object data
    
    ?>
    

     

    • 115 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on April 19, 2019 in JSON.
    
    $json = '["C","JAVA","PHP","C++"]';
    
    $lang = json_decode($json);
    
    // access first element of $lang array
    
    echo $lang[0]; // C
    
    
    • 108 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on April 19, 2019 in JSON.

    For JSON:
    Content-Type: application/json

    For JSON-P:
    Content-Type: application/javascript

    • 123 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on March 22, 2019 in IONIC.

    Storage is an easy way to store key/value pairs and JSON objects. Storage uses a variety of storage engines underneath, picking the best one available depending on the platform.

    When running in a native app context, Storage will prioritize using SQLite, as it’s one of the most stable and widely used file-based databases, and avoids some of the pitfalls of things like localstorage and IndexedDB, such as the OS deciding to clear out such data in low disk-space situations.

    When running in the web or as a Progressive Web App, Storage will attempt to use IndexedDB, WebSQL, and localstorage, in that order.

    Read More

    • 106 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on March 22, 2019 in TECHNOLOGY.

    Native app:

    Mobile apps built for specific platforms like iOS, Android, Blackberry, Windows, etc, using their respective development tools and language. Native App will work only on the platform it has been designed for.

    HTML5 Web App:

    HTML5 apps can work on different mobile platforms. They use a combination of programming languages like CSS, Javascript and HTML5. These are platform independent but lack superior UX and functionality. These apps cannot be used when offline.

    Hybrid/ Cross- Platform App:

    Hybrid/ Cross- Platform App use a combination of Native and HTML5 development methodologies to develop applications that have the advantages of both.Hybrid apps are faster to develop and also provide a great user experience.

    • 92 views
    • 1 answers
    • 0 votes