I am trying to set up jquery instant postcode search function (from https://ideal-postcodes.co.uk/documentation), I successfully added the fields on my website http://kyl.ri-web.com however the Postcode field is not showing up.
I am sure this is a jquery conflict issue but just can’t get it to work.
The website is a WordPress website and I have already tried deactivating all plugins to check for any conflicting.
I have installed the script from ideal-postcodes.
I have added the empty div with the ID ‘lookup_field’ which should be replaced by the postcode lookup but it’s not showing.
The other fields should be filled once a relative postcode has been selected.
I’ve added the script to run in the footer.
Looks like you’re calling your script before jQuery is declared. Move your script to just above the closing tag, like so:
As this is a WordPress site, it may be easier to move your jQuery file into the head section, also call jQuery using ‘jQuery’ not ‘$’, see updated code