JS to Bubble in an IFrame

My bubble app requires a unix timestamp for the current time.

I was doing this with the unix converter plugin, but the app was very slow. One refinement I made was to use JS to Bubble from the Toolbox plugin to generate the timestamp. The app works fine this way, but when its viewed in an IFrame it doesn’t work. I get ReferenceError: Can't find variable: bubble_fn_1 in the Java console.

How can I get around this?

Get current time&date extract UNIX, its ms though so use an operator to change it if you want seconds.

This topic was automatically closed after 70 days. New replies are no longer allowed.