Hello
I am doing this: <div onclick='alert("xxx")'>Click me!</div>
and i see that alert but i want to call on function inside that onclick.
I'm trying this but it doesn't work.
function GetContent(prm){
alert(prm);
}
<div onclick='GetContent("xxx")'>Click me!</div>
I need to call that function inline not assign an id or class to that div and use jquery. What is the solution? Thanks