I would like to use WebUI Popover plugin to show some data in tool-tip like object. The code looks like this:
$('.imgPlus').webuiPopover({
trigger:'click',
type:'html',
url:'#jadlospisListaPotrawT_wrapper'
});
<a href="#" data-title="Dodaj nową pozycję" onclick="jadlospisDodajPT(1,1);return false;"><img class="imgPlus" src="images/plus.png" alt="" ></a>
The problem is that when I added webuiPopover do the code, onclick function has been blocked.
I need either to execute onclick function as defined or to pass two variables 1 & 1 (in this example) to inside of webuiPopover in order to put it into hidden fields of #jadlospisListaPotrawT_wrapper.
Could you please advice on this...
Let's say that #jadlospisListaPotrawT_wrapper looks like this:
<div id="jadlospisListaPotrawT_wrapper" >
<input id="txtJLPTWagaP" type="text" disabled></input>
<input id="txtJLPTDzien" type="hidden"></input>
<input id="txtJLPTPosilek" type="hidden"></input>
</div>