Link javascript with dynamic page for launch paypal and files

how to link in my code javascript, exemple +45+006 in dynamic page and after dynamic page to donate for link my file from google drive in my database "tuiles "
hello , i speak with simplemap i search :
link video its better explication: https://www.youtube.com/watch?v=FqCa9lqzzGY
the response is: You want something like this:

You need to replace the static link ( google.com ) with JavaScript that creates the link dynamically using the id. How to do this with your Wix table is outside of our expertise and support scope.
Best,
Chris Youderian

any help apreciate

any expert? :confused: how to link javascript with the database

Hello,

Your best option for this would be to use the messaging option described in this article - here ,
and then use wix code to link to a dynamic page.

How to link to other pages using code - here

Goodluck!
Majd

Hey Chris,

I think I understand almost all of what you’re asking, just one more question. Is the Google drive link supposed to open immediately when they click on the map?

Or is that supposed to be the link for the button on the dynamic page?

Hope that was clear,

Chris

“Or is that supposed to be the link for the button on the dynamic page?”

yes in my “mapdata.js” its possible to use fonction url= (link) on click location pink color

Ok, after when i click , i want the code url= go to the dynamic page for see the name of the file and verify if the member pay donation or not, if not, launch paid plan for make donation and share after the files from my database

Okay, like Majd said, you will have to implement some messaging between your interactive map and your wix site.

You do this by using the HtmlComponent onMessage function to send a message when someone clicks on the page.

Because of the language barrier, if you’re interested in hiring a developer you can contact me at cderrell@threedsoft.net.

Regardless, I’ll try my best to help you here.