Posts by Yuri Godke • 61 points
2 posts
-
2
votes2
answers260
viewsA: How to check the 4 vertical and horizontal elements in a matrix based on the current position?
I imagine that will solve your problem: function getHierarchyMatrix($currentXY, $matrix) { $currentX = $currentXY['x']; $currentY = $currentXY['y'];…
-
1
votes1
answer2073
viewsA: Change text within a dynamically generated <span> element without destroying the nested element
I’d settle it this way: var contSpan = $('li#'+idOfListItems).find('span'); $(contSpan[0]).html($('#destination-service-dropdown option:selected').text()); I tested it here and it worked.…