Advertisement:

Author Topic: search.php <body tag  (Read 521 times)

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 416
search.php <body tag
« on: September 27, 2018, 07:40:01 am »
hi, i want to run a js code in <body tag of search.php, but couldnt find body tag. please help thanks
<body onload="func()">

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: search.php <body tag
« Reply #1 on: September 27, 2018, 08:12:22 am »
It is in header.php maybe.
You can try window.onload in js. Search online.

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 416
Re: search.php <body tag
« Reply #2 on: September 27, 2018, 10:43:11 am »
It is in header.php maybe.
You can try window.onload in js. Search online.

I'm on cell phone right now. I will test window.onload later and update the topic. Thanks

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 416
Re: search.php <body tag
« Reply #3 on: September 28, 2018, 09:16:47 am »
It is in header.php maybe.
You can try window.onload in js. Search online.

thank you very much, that was helpful!