Page 1 of 1

Javascript on HTML Component Page not working

Posted: Thu Mar 05, 2015 12:55 pm
by Egor Kotov6832188

Hello Poll.
We do not recommend our users to change source files of the project, cause it can lead to unpredictable behavior.

You need to place all js code to page show event handler


Javascript on HTML Component Page not working

Posted: Thu Mar 05, 2015 1:53 pm
by Poll David

So what might be your suggestion on how am i going to implement this?

I really need help.


Javascript on HTML Component Page not working

Posted: Thu Mar 05, 2015 3:41 pm
by M&M

Poll you can do try this.

Method 1: Comment this out
code
<script src="https:&#47;&#47;maps&#46;googleapis&#46;com/maps/api/js?sensor=false&libraries=geometry,places"></script>
/code

  • That is don't include the libraries and give it a try. I guess once you include the map component it is taken care of. Alternatively you can also experiment by adding the library as an external resource. That'll need some experimentation.

    And 2)
    code
    google&#46;maps&#46;event&#46;addDomListener(window, 'load', initialize);
    /code

    change this to
    code
    google&#46;maps&#46;event&#46;addDomListener(window, 'load', initialize());
    /code

    wherever you have used it


Javascript on HTML Component Page not working

Posted: Fri Jul 17, 2020 1:29 pm
by Poll David

place.geometry.location).toFixed(2) +"" meters/td/tr""; map.fitBounds(bounds); } google.maps.event.addDomListener(window


Javascript on HTML Component Page not working

Posted: Fri Jul 17, 2020 1:29 pm
by Poll David

the HTML table looks fine.. But if I search again