I want to get a javascript function inside an `html()` The codes looks like

```
 var test = getParameterByName('page');
 $(".pageContainer").html("<?php echo check("+ test")['content']; ?>  ");

```

I have tried a lot of different combinations, none works. I am new with javascript. 

Thanks in advance