Navigation überspringen

[Gelöst] Toolset Maps – Edit Placeholder text on distance filter

This support ticket is created vor 3 years, 9 months. 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

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

Zuletzt aktualisiert von claudiaP vor 3 years, 9 months.

Assistiert von: Minesh.

Author
Artikel
#2448871

I'm trying to edit the placeholder text on the distance filter on my location search here: versteckter Link

I added this code to the JS field in the View search:

jQuery(document).ready(function(){
$('#toolset-maps-distance-center').attr('placeholder',' Enter City/ZIP');
});

When I view source I can see the JQuery and yet the placeholder text doesn't update. What am I missing?

Thanks!

#2449255

Minesh
Unterstützer

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please try to use the following code:

jQuery(document).ready(function($){
$('#toolset-maps-distance-center').attr('placeholder',' Enter City/ZIP');
});

The $ was missing with the above funtion.

#2449625

Whoops - Thank you!