如何在jQuery中更改src属性从文本框中获取数据?

时间:2014-07-21 21:56:52

标签: jquery

我的表单包含ID =“text”的文本输入和ID =“button”的按钮。 而且我有一个具有src属性的链接。 你能给我一些jQuery代码,当我在文本输入区写东西然后点击按钮时,a标签的Src会改变我在文本输入中写的内容吗?

1 个答案:

答案 0 :(得分:0)

If(user == numbnut | user == lazy)
{ response.write("GFGI" + " AND TRY SOME STUFF!";
}
else{ /* user has tried to figure it out and posts indications of code written and tried
debug(user_submitted_code);
}

你是如何用c#编写的,但它应该很容易转换为JS。

相关问题