Javascript on HTML Component Page not working
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
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
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
So what might be your suggestion on how am i going to implement this?
I really need help.
Poll you can do try this.
Method 1: Comment this out
code
<script src="https://maps.googleapis.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.maps.event.addDomListener(window, 'load', initialize);
/code
change this to
code
google.maps.event.addDomListener(window, 'load', initialize());
/code
wherever you have used it
place.geometry.location).toFixed(2) +"" meters/td/tr""; map.fitBounds(bounds); } google.maps.event.addDomListener(window
the HTML table looks fine.. But if I search again