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 "
onClick='javascript:window.open(https://xoops.org);'>Test

";
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

Who's Online

177 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

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

Latest GitHub Commits