1
recupsoft
Problem with JavaScript into PHP page
  • 2003/12/12 9:29

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


Into a PHP page, I want to use HTML and Js instructions like this but it doesn't work
print "<td>
<a href='javascript:;'
onClick='javascript:window.open(https://xoops.org);'>Test
</a>
</td>";
It's just an example. And of course no space between java and script as displayed into this request.
Solution
Thanx

2
recupsoft
Re: Problem with JavaScript into PHP page
  • 2003/12/13 9:09

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


Found the solution:
- made a HTML page
- then call it from my PHP page with require('page.html');

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!