With my code below I push every selected element to a array. I can push it to a url param with javascript like window.location.href
. Can I add params to url without page reloading/redirect?
var keys = [];
keys.push({selected_element:object.key});
Needed structure is: /index.php?element[]=546454&element[]=156151&element[]=343141