OK - So first off i'm a noob to wix. So please be gentle.
Here is what I am trying to do. I own a food truck / Food delivery service. I want to post nutritional data for my dishes on my website. I use a database food analysis service - recipal.com. They make FDA compliant labels available dynamically with a js embed code.
I have created a collection on my site with the links to the recipal data and the dishes. I am trying to send the js to the HTML element dynamically. The user will select a dish from a drop down box - and the label will be displayed.
On the On_Change event in the drop down I have this code:
This code takes the dish name, and queries the value of the embed token from recipal and builds the src value of the src tag in the js.
In the HTML element I have this code:
Right now, this code just prints the link in the HTML. I was doing that to verify that data was being received. It is.
It seems like Wix is stripping tags when I send them - that never worked. I have also tried embedding something to try and build a ne js inside the message receive js, and that hasn't worked.
Can anyone help me out with this?