We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

jquery hide all links where the url ends with certain text

jackjohnson44
on
Medium Priority
378 Views
Last Modified: 2012-05-11
how can I hide any link that ends in:
viewlsts.aspx?BaseType=1
Comment
Watch Question

leakim971Multitechnician
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
to hide : $("a[href$='viewlsts.aspx?BaseType=1']").hide();
to show : $("a[href$='viewlsts.aspx?BaseType=1']").show();

Author

Commented:
Thanks!
Is there any way to limit that to only something that appears as some child of a div called "s4-leftpanel-content"?  I am not sure how deep this would go down.
Multitechnician
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.