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 & gt; > Whenever I try: It does not seem to work , Someone will tell me what I am doing. 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
div class = "container" onload = "getRequest ('& lt;? = $ Root? & Gt; getOffers.php')" & Gt;
Comments
Post a Comment