Avatar of maqskywalker
maqskywalker
 asked on

using jquery to change html table attributes

Hi experts,

I'm using jQuery 1.10.1
I have a html table that looks like this:

my fiddle when i run it
This is my fiddle: https://jsfiddle.net/80LfmsLo/

How do i use jQuery to remove this  <a href="http://www.google.com" target="_blank"></a>  tag from the LastName column values for all the Employees with the title 'Sales Representative'?

I was thinking of using the jquery remove attribute but not sure if that is the best way.
Anyone know how?

So my page should look like this:

my desires result
jQuery

Avatar of undefined
Last Comment
maqskywalker

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Robert Schutt

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
maqskywalker

ASKER
Great! thanks!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck