I have a script whose structure is like below :
$(location).attr('href','<?php echo $this->here; ?>'+'#qualification');
Though I was expecting to redirect to myurl#qualification
it does not redirect at all. If I remove the #qualification
, it redirects successfully to desired location. How can I redirect ( or refresh the page) to url myurl#qualification