Coach, Mentor, Developer
I’m Harry Bailey and I help foster tech teams and the humans who help form and fuel them. My work creates better outcomes, more value, happier humans and solid autonomous teams.
My experience as a product owner, business owner, tech strategist and software developer enables me take a team-focused approach. I look to support value creation at every level from pair coding through to business strategy.
Some describe my role as Delivery Coach and some as Agile Coach. My preference is Agility Coach. ‘Agile’ isn’t something to be achieve, and our focus as members of software development teams should be on removing the impediments that limit agility. I work with teams of all sizes and experience levels to be better tomorrow than they are today.
Have you ever gone searching for Christmas presents on a shared computer only to find that your searches in google are being saved for all to see?
Well you can actually remove a search entry easily if you are using the Firefox browser.
Continue reading “Remove / Delete an Autocomplete Form Entry in Firefox”
Accessing elements and walking the DOM
You can still use many of the standard methods for accessing and navigating the DOM.
document.getElementById(id) // as you would expect
document.getRootElement() // gets the highest dom tree element accessible to canvas page developers
document.creatElement('DIV') // would create a new div element
document.getElementsByTagName('DIV') // returns all div elements
I would suggest setting up a base function to save yourself some repetition
byId('id').getNextSibling(); // same as .nextSibling;
byId('id').getPreviousSibling(); // same as .previousSibling;
byId('id').getFirstChild(); // same as .firstChild;
byId('id').getLastChild(); // same as .lastChild;
byId('id').getParentNode(); // same as .parentNode;
byId('id').getChildNodes(); // same as .childNodes;
byId('id').appendChild(node); // as .appendChild(node);
byId('id').insertBefore(node,caret); // as .insertBefore(node,caret);
byId('id').removeChild(node); // as .removeChild(node);
byId('id').cloneNode(tree); // as .cloneNode(tree);
Manipulating Tags and Attributes
byId('id').setTextValue(text); // innerHTML with text only
byId('id').setValue(value); // as .value=newValue;
byId('id').getValue(); // as .value;