Welcome Guest, Not a member yet? Register   Sign In
Jquery.php ? Where's the JavaScript file ?
#1

I just downloaded CI 3 - I can there's a system/libraries/Javascript/Jquery.php - why this a PHP file ? Where is jquery.min.js file ?
Reply
#2

(This post was last modified: 01-08-2023, 06:59 AM by superior.)

You should provide the directory to this file
See: https://github.com/bcit-ci/CodeIgniter/b...ry.php#L52
And: https://www.codeigniter.com/userguide3/l...nfig-items
Reply
#3

(This post was last modified: 01-08-2023, 08:06 AM by anjanesh.)

I did `php -S localhost:8000` - now how do I see the jQuery JS file in the browser like http://localhost:8000/themes/js/jquery/jquery.js

But why does there exists PHP functions like `protected function _animate` outouting jQuery code ?
Code:
return "$({$element}).animate({\n$animations\n\t\t}".$speed.$extra.');';

I got the answer from here - https://armantutorial.wordpress.com/2019...deigniter/ - but I don't get why there aren't any JavaScript files pre-loaded into CI3 ?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB