Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Power Pages in Action

You're reading from   Microsoft Power Pages in Action Accelerate your low-code journey with functional-rich web apps using Power Pages

Arrow left icon
Product type Paperback
Published in Jun 2024
Publisher Packt
ISBN-13 9781837630455
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Danilo Capuano Danilo Capuano
Author Profile Icon Danilo Capuano
Danilo Capuano
Faisal Hussona Faisal Hussona
Author Profile Icon Faisal Hussona
Faisal Hussona
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Chapter 1: Modernizing Rob the Builder’s Business with Power Pages 2. Chapter 2: Power Pages Design Studio FREE CHAPTER 3. Chapter 3: Power Pages Studio – Styling and Themes 4. Chapter 4: Dataverse Tables and Forms 5. Chapter 5: Table Permissions and Security 6. Chapter 6: Basic Forms, Lists, and Web Pages 7. Chapter 7: JavaScript and jQuery 8. Chapter 8: Web Templates and Liquid 9. Chapter 9: Workflow Automation 10. Chapter 10: Power Pages and Cloud Flows 11. Chapter 11: Charts, Dashboards, and Power BI 12. Chapter 12: REST Integration 13. Chapter 13: Creating a PDF File from Dataverse 14. Chapter 14: Modal Windows 15. Chapter 15: Enhancing Development with ChatGPT 16. Index 17. Other Books You May Enjoy

Debugging JavaScript and jQuery

Debugging is an essential aspect of development. For JavaScript and jQuery in Power Pages, browser developer tools are usually the best place to start.

For example, Sarah can use the Console area in Chrome’s Developer tools to execute JavaScript code on the fly and print output for debugging. From here, you can test and run JavaScript code in your web browser. For example, if Sarah wants to check if her JavaScript code is working as expected, she can open the Console area, enter her code, and see the results instantly. It’s like having a whiteboard where she can scribble JavaScript ideas, and the browser will respond with what happens when she runs it.

Here’s a simple example: Sarah wants to verify that her Boolean code for injuries is working. She opens the Console area, types $("#imc_anyinjuries _1").is(":checked"), and hits Enter. The Console area will instantly display the Boolean value for any injuries...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime