You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to change the href property, which is the grandchild of an element I'm adding to my json, it does not appear to actually change it. Here is my code:
if(data.children().children().is('a')){
data.children().children().prop('href', 'thisshouldbesomethingelse') //changing property
console.log(data.children().children().prop('href')); //change appears to be reflected
console.log(data.html()); //url in full html has not changed
}
The text was updated successfully, but these errors were encountered:
When I try to change the href property, which is the grandchild of an element I'm adding to my json, it does not appear to actually change it. Here is my code:
The text was updated successfully, but these errors were encountered: