top of page
Cassoulet

Cassoulet

French

Rolled & Scrambled Eggs

Rolled & Scrambled Eggs

French

Piri piri chicken

Piri piri chicken

African

import { session } from 'wix-storage';

import wixLocation from 'wix-location';

 

$w.onReady(function () {

 

    //DROPDOWN FILTER

    $w('#searchButton').onClick(() => {

        session.setItem("cuisine", $w("#dropdown1").value);

        session.setItem("search", $w("#searchBar").value);

 

        wixLocation.to('/search-result-page');

    });

 

    //CLEAR FILTER 🚀

    $w("#clearFilter").onClick(function () {

 

        $w("#dropdown1").value = undefined;

 

        $w("#clearFilter").hide();

    });

 

});

Copied!

bottom of page