Hello everybody!
I have the folowing code:
<script Language="JavaScript">
function load(url) {
var load = window.open(url,'','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');
}
</script>
<h:commandLink value="aaa" onclick="load('<h:outputText value="http://www.google.com" /> '); />
I want to pass attribute in JS function but probably inside onclick is not the right way.
Any solution?