HTML Embeds and button issue

Hello,

I created a HTML button which call a basic script with the onClick action.
It works well on mobile/IE/Edge/Safari browser but nothing happen with Firefox and Chrome.

I also try it with a very basic code like this one:

button

If you have any idea or hint, it’ll be much appreciated.

Thanks for your help.

Best,
Yoann

Hello,
Up

Thx

Did you figure this out yet?

The only way I found was hosted my button with an input on git and embed this webpage on Wix.

Hi,
Why creating a button using HTML instead of adding a button from the editor itself and designing it?
You can create also an onClick event for it.

Tal.

Hi,
Because the need was to have an input with a button to send the user on a specific web page according the keyword fill in the input.

Best,
EY

Have you gotten answers to this yet? I see there were 5 comments, but I don’t see these comments?

Hi,

Hi,
Because the need was to have an input with a button to send the user on a specific web page according the keyword fill in the input.
Best,
EY

It can be done by using Wix Code.
Roi.

Hi EY,

As Roi mentioned, you can use wix.Location to direct visitors to an external web page.
Refer to this website for an example on how to direct visitors to an external website using Wix Code .
Good luck!

Regards,
Ben