不需要ajax的方法 就是普通的js,假设表单中有<input type="text" name="price" id="u_price" value="">现在想要js中的值传到price这里 求代码。