Greeting StackOverflow! I am trying to pass data to controller using AJAX, but for some reasons it doesn\'t.
Controller:
public function updateSocial
It might creating problem with "&&", Try data: encodeURIComponent(key) in ajax.
data: encodeURIComponent(key)