Blog

Page 548 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How can I detect changes in location hash?
ajaxdom-eventsjavascript

How can I detect changes in location hash?

Published on September 2, 2023

# How to Detect Changes in Location Hash šŸ˜Ž If you're using Ajax and the hash to navigate in your web application, you might have encountered an issue where you need to detect changes in the location hash dynamically. Whether it's checking for changes whe

Cover Image for Are the PUT, DELETE, HEAD, etc methods available in most web browsers?
ajaxcross-browserhttp

Are the PUT, DELETE, HEAD, etc methods available in most web browsers?

Published on September 2, 2023

šŸ“ **Blog Post: Are the PUT, DELETE, HEAD, etc methods available in most web browsers?** Have you ever encountered the limitations of web browsers when it comes to making HTTP requests using methods like PUT, DELETE, HEAD, etc? 🚧🌐 Well, it's a common m

Cover Image for Send POST data using XMLHttpRequest
ajaxjavascriptxmlhttprequest

Send POST data using XMLHttpRequest

Published on September 2, 2023

# Send POST data using XMLHttpRequest Are you looking to send data using an `XMLHttpRequest` in JavaScript? Look no further! In this guide, we'll walk you through the process, address common issues, and provide easy solutions. Let's get started! šŸ’Ŗ ## Th

Cover Image for In MVC, how do I return a string result?
ajax

In MVC, how do I return a string result?

Published on September 2, 2023

# šŸŽÆ MVC Made Easy: Returning a String Result šŸŽ‰ So, you're struggling with returning a string result in MVC? Fear not! We've got you covered. šŸ˜Ž Whether you're a newbie or an experienced developer, this comprehensive guide will provide you with easy solu

Cover Image for Updating address bar with new URL without hash or reloading the page
ajaxjavascript

Updating address bar with new URL without hash or reloading the page

Published on September 2, 2023

# Updating Address Bar with New URL Without Hash or Reloading the Page: A Complete Guide šŸ” **Introduction** Have you ever wanted to update the address bar with a new URL without reloading the entire page? Maybe you dreamt about it, or perhaps you heard

Cover Image for Response to preflight request doesn"t pass access control check - No "Access-Control-Allow-Origin" header
ajaxcorshttpjavascript

Response to preflight request doesn"t pass access control check - No "Access-Control-Allow-Origin" header

Published on September 2, 2023

# šŸš€ How to Fix the "Response to Preflight Request Doesn't Pass Access Control Check" Error So you're building a cool web app and making requests to a REST API on Amazon Web Services, but then you stumble upon this funky error message: "Response to prefli

Cover Image for How to manually send HTTP POST requests from Firefox or Chrome browser
ajax

How to manually send HTTP POST requests from Firefox or Chrome browser

Published on September 2, 2023

## How to Manually Send HTTP POST Requests from Firefox or Chrome Browser šŸ’» Are you working on a web application and need to test specific URLs? Do you want to manually create HTTP POST requests with customized parameters? Well, you're in luck! In this b

Cover Image for How do you find the row count for all your tables in Postgres
count

How do you find the row count for all your tables in Postgres

Published on September 2, 2023

# How to Get the Row Count for All Your Tables in Postgres šŸ“ŠšŸ“ˆ Are you curious about the size of the tables in your Postgres database? Maybe you want to know which tables have the most rows or simply get an idea of how big your database is overall. Whate

Cover Image for How can I make an AJAX call without jQuery?
ajaxjavascript

How can I make an AJAX call without jQuery?

Published on September 2, 2023

# How to Make an AJAX Call without jQuery šŸ’»šŸ“ž Are you tired of relying on jQuery for all your AJAX needs? Want to embrace the pure power of JavaScript? Look no further! In this blog post, we'll explore how you can make an AJAX call using vanilla JavaScri

Blog | Matheus Mello