Re: [jQuery] Re: css based on url wildcard

2009-11-12 Thread Michel Belleville
Hey Jacques, Here's how you make a regexp that looks for "BlogRetrieve.aspx" in a string : /BlogRetrieve.aspx/ or new RegExp('BlogRetrieve.aspx') Now here's how you check wether a string matches with a regexp : "blah blah blah".match(/blah/) Here's a good site to learn about regexp (which are ver

[jQuery] Re: css based on url wildcard

2009-11-12 Thread Wacko Jacko
Hi Michael, Thanks so much for taking the time to reply. I have very limited Javascript knowledge (learning). Are you able to offer any more clues to get me on track? Thanks in advance for your help!. Jack On Nov 9, 4:32 pm, Michel Belleville wrote: > Straight js : window.location.url contains