java - How to store the values into a dictionary using jquery -


i have function return properties , values of element under mouse pointer. i'm not able add values dictionary want use other purpose. can me out in this. appreciated. code goes follows:

public void function1(){ ijavascriptexecutor j; j.executeasyncscript(@"return $('body').hover(function(evt){var x=document.elementfrompoint(evt.pagex,evt pagey);var att={}; $(x.attributes).each(function(){att[this.nodename]=this.nodevalue;});console.log(att);});"); //want use dictionary containing properties , values } 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -