There is a line like this
var str = ?type=residential&price_type=1&course_type=1 It is necessary to trim the value to the first ampersand, i.e. the output should be this line. Provided that we do not know the length.
var str = &price_type=1&course_type=1 How can i do jquery?