Navigation überspringen

[Gelöst] How do I customise the placeholder text Enter a location inside the toolset-maps-distance-center input field

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
How do I customise the placeholder text Enter a location inside the toolset-maps-distance-center input field

Solution:
To change the distance filter textbox placeholder text - you should try to add following code to your view's filter editor's JS box:

jQuery(document).ready(function(){
  $('#toolset-maps-distance-center').attr('placeholder',' add your place holder text');
});

Relevant Documentation:

This support ticket is created vor 6 Jahren, 6 Monaten. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von julieP vor 6 Jahren, 6 Monaten.

Assistiert von: Minesh.

Author
Artikel
#957121
image1.JPG

How do I customise the placeholder text Enter a location inside the toolset-maps-distance-center input field (ringed bit on uploaded image)?

thanks

#957202

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To change the distance filter textbox placeholder text - you should try to add following code to your view's filter editor's JS box:

jQuery(document).ready(function(){
  $('#toolset-maps-distance-center').attr('placeholder',' add your place holder text');
});
#957210

Awesome Minesh; works like a charm! Thank you 🙂