Essential JS for PHP

Published on : August 03,2022
Essential JS for PHP

Run the Essential JS for PHP demo web site

To run the Essential JS for PHP demo site, kindly refer the ReadMe.html file in /Samples location.

 

Create a simple PHP Application

To use Essential JS for PHP in your PHP web site, follow the below steps:

  1. Copy Essential JavaScript and CSS files from /scripts and /themes to your web site root. And include the necessary files in your PHP page.
<head>
        <link rel="stylesheet" href="themes/bootstrap-theme/ej.web.all.min.css" />
		<script src="scripts/external/jquery-3.1.1.min.js"></script> 
		<script src="scripts/web/ej.web.all.min.js"> </script>
</head>
  1. Copy the individual component source files from /Src to your directory. Include the Essential JS for PHP AutoLoad.php file available in the /Src directory. This file automatically retrieves the required source class files to render the specified controls.
<body>
        <?php require_once 'Src/AutoLoad.php'; ?>
        <!--Enter your code to render EJ controls -->
</body>
  1. Use any Essential JS for PHP wrapper. For Example, to use DatePicker refer below.
<?php
    $date = new \EJ\DatePicker("datepicker"); // initialize a new instance of DatePicker with id
    echo $date->width("100%")->height("40px")->watermarkText("select a date")->render(); // configure the DatePicker using the fluent API and display the output
?>
  1. Run the PHP web site, the DatePicker widget will be displayed as shown below,

Categories : PHP JavaScript

Tags : PHP jquery JavaScript

Praful Sangani
Praful Sangani
I'm a passionate full-stack developer with expertise in PHP, Laravel, Angular, React Js, Vue, Node, Javascript, JQuery, Codeigniter, and Bootstrap. I enjoy sharing my knowledge by writing tutorials and providing tips to others in the industry. I prioritize consistency and hard work, and I always aim to improve my skills to keep up with the latest advancements. As the owner of Open Code Solution, I'm committed to providing high-quality services to help clients achieve their business goals.


25 Comments

tricor uk order tricor 200mg tricor 160mg canada


buy ketotifen how to get imipramine without a prescription order tofranil 25mg online


cialis for sales cialis 20mg pills female viagra sildenafil


order minoxytop for sale purchase minoxytop without prescription red ed pill


order aspirin 75 mg without prescription lquin pills buy cheap zovirax


dipyridamole 25mg pill gemfibrozil pills order pravachol 20mg without prescription


buy duphaston 10 mg pills order forxiga 10 mg generic order generic empagliflozin


florinef 100 mcg pill dulcolax ca loperamide 2mg pills


buy generic prasugrel for sale prasugrel 10mg brand order tolterodine 2mg online cheap


order etodolac 600mg online cheap order mebeverine 135mg order generic cilostazol


buy vasotec 5mg online order duphalac bottles order lactulose for sale


buy generic betahistine order probenecid 500 mg pills purchase probalan for sale


latanoprost online order latanoprost generic exelon 6mg sale


prilosec to treat esophagus buy generic metoprolol online buy metoprolol tablets


premarin 600 mg cost cabergoline price cheap viagra online


buy micardis 80mg pill cost hydroxychloroquine 200mg buy generic movfor online


order cenforce 100mg online buy naprosyn generic buy aralen cheap


tadalafil 20mg price sildenafil mail order viagra for men


order modafinil 100mg generic buy promethazine pill how to buy prednisone


buy generic omnicef for sale order prevacid 30mg without prescription buy lansoprazole generic


order accutane 10mg generic buy azithromycin 500mg generic buy azithromycin 250mg online cheap


lipitor 20mg usa purchase proventil generic order amlodipine 10mg pills


order azithromycin 250mg pills azipro online buy neurontin without prescription


poker online cash play casino online buy lasix pill diuretic


buy pantoprazole without a prescription order protonix sale phenazopyridine without prescription


Leave a comment

We'll never share your email with anyone else. Required fields are marked *

Related Articles

Access specifier in php
Praful Sangani By Praful Sangani - July 20,2022