myEvents.js 580 B

12345678910111213141516171819202122232425262728
  1. $(document).ready(function(){
  2. function newElementaddressSpace(){
  3. var $tr = $('<tr>');
  4. $tr.append('<td><img src='+'graphics/Gauge.svg'+' height='+"100"+' width='+"100"+'></img></td></tr>');
  5. $('#tree').append($tr);
  6. console.log("this funct");
  7. }
  8. $(".nodeRoot").click(function () {
  9. console.log("Here");
  10. $(this).css("border","5px solid green");
  11. })
  12. $("#load_nodeset").click(function(){
  13. newElementaddressSpace();
  14. $.getScript('executeNodeSetParser.js', function(jd) {
  15. let lt = parseAll()
  16. })
  17. console.log("Button1 clicked")
  18. })
  19. });