Reply To: Geolocation?

#1679

Kevin Heath
Buyer
Post count: 33

Hi Julian,

My mistake I forget to say you need to set an id.

in the listing form filter file where you put the new input you will see immediately before another input with a class of snear you also need to add an id of snear – so it looks like

<input name="snear" class="snear" id="snear" type="text" value="<?php echo $near;?>" onblur="if (this.value == '') {this.value = '<?php echo NEAR_TEXT;?>';}"  onfocus="if (this.value == '<?php echo NEAR_TEXT;?>') {this.value = '';}"   />

It needs the id for the jquery to pass the value to the form field.

Sorry

Kevin

20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount