Jump to content
Larry Ullman's Book Forums
Sign in to follow this  

Implementing Chapter 3 Using Bootstrap Style Application

Recommended Posts

Hello all,


I am enjoying this book, and have had all success deploying the chapter 3 department select menu scripts on my local environment.


When i try to implement the same when using a bootstrap style website, where the pages are outputted through the index.php file: https://mysite.com/index.php?page=dept_form&did=1


I run into problems. In your book on chapter 3 your dept.js file has the code pulling from (get, dept_results_ajax.php?did=' + encode...). Because of the bootstrap style site I am using will this be different?


Also, does it matter if using https opposed to http?


Any help would be great.



Share this post

Link to post
Share on other sites

The http vs https wouldn't make any difference, but you'd need to change your Ajax resource URLs to go through the bootstrap, too. For example: index.php?page=dept_results_ajax&did=....


Thanks for the nice words!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this