Hit enter to search or ESC to close
Dean Ha
  • About
  • Portfolio
  • Photography
  • Blog
  • Contact
Dean Ha

Just another blog

Tutourial & Tips

How to remove all white spaces from a string

var copyText = document.getElementById("reg"); copyText.value.replace(/ /g,'')  
Dean Ha
Dean Ha19th August 2021
Tutourial & Tips

Check if jQuery is installed

if (typeof jQuery == "undefined") { alert("jQuery is not installed"); (function () { var script…
Dean Ha
Dean Ha28th May 2021
Tutourial & Tips

How to encrypt a string with a private key/salt in PHP

Its useful to encrypt a certain string and and then unlock the message by decryption…
Dean Ha
Dean Ha31st July 2019
Tutourial & Tips

JS – find currentClosetTo()

Scenario: For every minute that passes, we want to find the closest(current minute for example…
dha
dha27th August 2018
How toTutourial & Tips

How to hide anchor tag from URL using jQuery

A useful script that will prevent the anchor tag showing on the URL when jumping…
Dean Ha
Dean Ha21st March 2016

Categories

  • #100DaysOfCode
  • Blog
  • How to
  • Inspirations
  • Photography
  • Resources
  • Technology
  • Tutourial & Tips
  • W.I.P

© 2023 Dean Ha. All Rights Reserved

  • About
  • Portfolio
  • Photography
  • Blog
  • Contact