p;amp;amp;amp;amp;amp;amp;amp;sort=date&sort=approach&sort=applicant&sort=applicant&sort=date&sort=approach&sort=is_greate'; if($url.indexOf("keyword") != -1) { if($url.indexOf("keyword") != -1) { $url = '/ko/program/all/list/all?t=%ED%95%9C%EA%B5%AD%EC%98%81%EC%83%81%EC%9E%90%EB%A3%8C%EC%9B%90&sort=favorite&sort=date&sort=approach&sort=applicant&sort=applicant&sort=date&sort=approach&sort=is_greate'; $url = $url + '&keyword=' + $val; } } else { $url = $url + '&keyword=' + $val; } $('a.search_tag').attr('href',$url); }) $(document).ready(function(){ })