What could be the case if the Type value in the form is passed like this:

& type = Appartement% 0D% 0A% 09% 09% 09% 09% 09% 09% 09% 09% 09% 09

Here is the project itself

1 answer 1

target fires on the list item, $ target.text () does not clear the spaces, try replacing with var $target = $(event.currentTarget).find('a');

  • it worked, thanks for the idea. - sagan 8:49 pm