I've created a JQueryUI tooltip and it works fine. In the HTML content, I create a button. In the onclick event of that button, I'm making a javascript function call that has parameters.
- $("#MyConvolutedControlName").attr("Title", "<input onclick='MY_POPUP('./MyPage.aspx', 'height=750,width=750');return false; type='button' value='CLICK EEEEET' /><br />");
$("#MyConvolutedControlName").tooltip({position:"center right"});
As you can see, I'm having problems with quotes and parameters. I've played with it with various permutations of single and double-quotes, but I couldn't get it to work.
How can I fix this?