How do I escape this \ character in jQuery? -


i want use following in jquery

:contains("c:\ name") 

how escape escape character?

use double \\ single, this:

:contains("c:\\ name") 

you can test here. can find other tips @ top of selectors portion of api.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -