解决乱码问题: (1)encodeURLCompoenent():将中文,符号等进行编码 (2)decodeURLComponent():将编码后的值进行解码 注意:这两个方法直接调用,不是某个对象的方法