I'm working on an old school app. It's so old that it doesn't support jquery. Which is fine in most cases, but I've run into a spot where it is annoying the hell out of me.
I need to select a link with the word 'Novedades' in it so I can change around the http attribute. Wish I could do this a different way, but they have a CMS is changing everything every way I turn. :) Can you tell I love this system?
Normally, this is how I would write it in Jquery. Simple enough, but how can I turn the find into plain javascript?
var blog = $('.navbar-nav').find('a:contains(Novedades)');
So obviously this would start with
var blog = document.getElementsByClassName("navbar-nav")
Any help would be appreciated! :)