0

Is there somebody who can get the Parameters from the a href class="popper" without manipulating them (in javascript)

 <a href="./myservlet?AfspraakID=${cell.afspraakId}&Id=${cell.id}&KlantId=${cell.klant.id}" class="popper"</a>

The result i need is:

AfspraakID=${cell.afspraakId}&Id=${cell.id}&KlantId=${cell.klant.id}

I don't think it is that hard, but i cant find my solution(can you pls call the a href class to get the parameters from it)

thank you so much

bipen
  • 35,563
  • 9
  • 45
  • 62
RobinHo
  • 575
  • 1
  • 9
  • 24

1 Answers1

1

$("a.popper").prop("href").split("?")[1]

Andrei Nemes
  • 2,993
  • 1
  • 14
  • 21