Saltar navegación

[Resuelto] Referencing custom field in custom javascript

This support ticket is created 3 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por susanD-4 3 years, 4 months ago.

Autor
Mensajes
#2555313
Capture1.PNG

Tell us what you are trying to do?
Im trying to reference a custom field value in custom js

specifically:
I have a field called 'date-available'
in custom JS im trying to check if 'date-available' has passed.
if it has, replace the date value rendered on screen with 'available now!'

Is there any documentation that you are following?
I can't find any on my issue

Is there a similar example that we can see?
no

What is the link to your site?
enlace oculto

#2555365

My issue is resolved now. Thank you!