html - Javascript calling function - onclick works whereas onload doesn't -
I am trying to display a proposal on page loading.
The offer works and displays onClick method (which means that there is nothing wrong with the
'getOffers.php' script:
div contain = "onclick =" getRequest ('& lt;? = $ root? & gt; getOffers.php') "& gt; div id = "Offer" class = "home-box"> gt; offer
& gt; > Whenever I try:
div class = "container" onload = "getRequest ('& lt;? = $ Root? & Gt; getOffers.php')" & Gt; It does not seem to work , Someone will tell me what I am doing.
Comments
Post a Comment