Blog

Page 467 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to find if an array contains a specific string in JavaScript/jQuery?
arraysjavascriptjquerystring

How to find if an array contains a specific string in JavaScript/jQuery?

Published on September 2, 2023

# šŸ•µļøā€ā™‚ļø How to Find if an Array Contains a Specific String in JavaScript 🧩 Have you ever wondered how to check if a specific string is present in an array? If you're working with JavaScript or jQuery, you're in luck! In this blog post, we'll explore dif

Cover Image for Regex to replace multiple spaces with a single space
javascriptjqueryregex

Regex to replace multiple spaces with a single space

Published on September 2, 2023

# Easy Peasy Way to Replace Multiple Spaces with a Single Space using Regex in JavaScript šŸ˜ŽšŸ” Are you tired of dealing with pesky extra spaces cluttering your text? šŸ™„ Whether you're working on a form validation, data manipulation, or simply trying to ma

Cover Image for How to get the image size (height & width) using JavaScript
javascriptjquery

How to get the image size (height & width) using JavaScript

Published on September 2, 2023

# šŸ“· How to Get the Size of an Image Using JavaScript šŸ–„ļø Do you ever find yourself needing to find out the dimensions (height and width) of an image on a web page using JavaScript? šŸ¤” Well, you're in luck! In this blog post, we'll explore different metho

Cover Image for Wildcards in jQuery selectors
jqueryjquery-selectors

Wildcards in jQuery selectors

Published on September 2, 2023

# Wildcards in jQuery Selectors: Unleashing the Power of ✨ Are you tired of manually selecting each element with similar IDs in jQuery? Don't worry, we got you covered! Say hello to wildcards šŸŽ‰ ## The Wildcard Dilemma šŸ¤” Imagine this scenario: you have

Cover Image for jQuery checkbox checked state changed event
event-handlingjavascriptjquery

jQuery checkbox checked state changed event

Published on September 2, 2023

# jQuery Checkbox Checked State Changed Event: A Cleaner Solution šŸ‘ Are you looking for a cleaner way to handle the checked state change event for checkboxes using jQuery? You've come to the right place! In this blog post, we'll address this common issue

Cover Image for jQuery Ajax POST example with PHP
ajaxjavascriptjquery

jQuery Ajax POST example with PHP

Published on September 2, 2023

# 🌟 jQuery Ajax POST example with PHP 🌟 So, you have a form and you want to send its data to a database using PHP. But hold on! When you submit the form, the browser redirects and you don't want that. Fear not, my friend! With the magic of jQuery and Aj

Cover Image for jQuery to loop through elements with the same class
javascriptjqueryjquery-selectors

jQuery to loop through elements with the same class

Published on September 2, 2023

šŸ“ **Tech Blog Post: Looping Through Elements with the Same Class in jQuery** šŸ¤”šŸ’”šŸ–„ļø ### Introduction Do you have a bunch of HTML elements with the same class and want to perform a specific action on each element based on certain conditions? Look no fur

Cover Image for Wait until all jQuery Ajax requests are done?
ajaxjavascriptjquery

Wait until all jQuery Ajax requests are done?

Published on September 2, 2023

# šŸ”„šŸ“” Wait Until All jQuery Ajax Requests Are Done: A Guide for You! šŸ˜Ž šŸ‘‹ Hey there, tech enthusiasts! Today, we're diving into a common issue that many developers face: how to make a function wait until all jQuery Ajax requests are done inside another

Cover Image for Creating a left-arrow button (like UINavigationBar"s "back" style) on a UIToolbar

Creating a left-arrow button (like UINavigationBar"s "back" style) on a UIToolbar

Published on September 2, 2023

šŸ”¤**Creating a Left-Arrow Button on a UIToolbar: A Guide for Non-Navigation Bar Scenarios** šŸ”¤ Are you trying to add a "back" left-arrow-bezel button to a UIToolbar, but getting stuck with limited options? Don't worry, we've got you covered! In this compr

Blog | Matheus Mello