How To Match Complex Element IDs In jQuery

Published Date Author: , Posted July 22nd, 2021 at 1:36:59pm

PROBLEM: An element ID that looked like this would fail to match:
service = east
node = db1-demo.thedomain.com

SOLUTION: Rig any special characters in the complex hostname (:.[],-@) with a backslash in front of them to ensure proper matching:

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.