Jump to content
Larry Ullman's Book Forums

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.

 

Thanks

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!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...