需要Web开发帮助吗? [英] Web development help needed?

查看:58
本文介绍了需要Web开发帮助吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

说我在html和一个按钮中添加一个文本框,我该如何为它分配功能


,例如我将如何编写一段代码,知道何时按下按钮并将标签设置为文本框中键入的内容?

say i add a textbox in html and a button, how do i assign functions to it

e.g. how will i write a piece of code that will know when the button has been pressed and will set a label to what was typed in the textbox?

推荐答案

你可以做所有这些都使用不是Java的Javascript。所以你想在Javascript论坛中提出这个问题。
You can do all that using Javascript which is not Java. So you want to ask that in the Javascript forum.


描述你到目前为止尝试解决问题的方法是个好主意。


现在你几乎要问如何编写程序所以我们不知道从哪里开始...


请在发布问题之前花时间研究问题。这里的专家非常愿意帮助你解决一个具体的问题,但你必须尽自己的一份力量来学习基础知识。


我建议从一些基本的JSP教程开始(只是谷歌)对于一些)。从印刷品Hello World开始进入网页并向上移动到Hello 用户名从文本框中检索用户名。


(这里是一个教程
It would be a good idea to describe what you''ve tried so far to solve the problem.

Right now you''re pretty much asking "how to write a program" and so we have no idea where to begin...

Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics.

I would recommend starting with some basic JSP tutorials (just google for some). Start with print "Hello World" into the web page and the move up to "Hello username" where username is retrieved from the textbox.

(here''s an example of a tutorial that you could have found by googling)


Thanx用于回复和教程。我在index.jsp上创建了一个用户名字段

如果处理表单,我如何调用web服务。

我使用netbeans中的函数创建了与数据库的连接。它创建了一个数据源。如何将Web服务连接到数据源?我需要帮助的两个非常简单的问题
Thanx for the reply and the tutorial. I created a username field on index.jsp
How do i call the webservice if the form is processed.
And i created a connection to the database using a function within netbeans. and it created a datasource. how do i connect the webservice to the datasource? just 2 very simple questions i need help with


这篇关于需要Web开发帮助吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆