Osclass forums

Support forums => Themes => Bender => Topic started by: Sophia_OS on September 27, 2018, 07:40:01 am

Title: search.php <body tag
Post by: Sophia_OS 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()">
Title: Re: search.php <body tag
Post by: marius-ciclistu on September 27, 2018, 08:12:22 am
It is in header.php maybe.
You can try window.onload in js. Search online.
Title: Re: search.php <body tag
Post by: Sophia_OS 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
Title: Re: search.php <body tag
Post by: Sophia_OS 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!