如何使用隐藏控件和POST方法在html页面之间传递值? [英] how to pass values between html pages using hidden controls and POST method?

查看:201
本文介绍了如何使用隐藏控件和POST方法在html页面之间传递值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用隐藏控件和POST方法在html页面之间传递值?请用一些小例子来说明它b"因为它是我无法回答的面试问题.
在此先谢谢您.

how to pass values between html pages using hidden controls and POST method? plz expain it with small examples b''coz its a interview question which i''m unable answer.
Thanks in advance.

推荐答案

什么,您甚至不了解,如果涉及到POST,则不仅仅是JavaScript,还有一些服务器-是否需要进行侧面编程?

请参阅:
使用隐藏字段将值从一页传递到另一页在Asp.Net中使用C# [ ^ ].

此答案与ASP.NET有关,但是如果答案错误,请不要怪任何人.不仅您没有在问题中标记适当的主题,而且您可能也没有费心地学习Web和HTTP的工作方式.

学习如何回答面试问题,实际上,回答您真正不理解的面试问题是没有用的.您需要学习和练习编程,而不是面试合格.您是否想欺骗面试官,并担任一个对某些知识渊博的求职者更合适的职位?还是要自欺欺人地做好工作?

并且请记住:如果您通过阅读其他人的答案来学习答案,那么您仍然不知道该主题.您可以说,如果您至少尝试开发适当的应用程序技术,使其运行并确保您深刻理解运行时的情况,就可以知道.

—SA
What, you don''t even understand that if POST is involved, it''s not a matter of just JavaScript, some server-side programming is involved?

Please see:
Passing value from one page to another using Hidden Field in Asp.Net Using C#[^].

This answer is related to ASP.NET, but please don''t blame anyone if it answers a wrong question. Not only you did not tag proper subjects in your question, you probably did not bother to learn how the Web and HTTP work.

Learning how to answer the interview question and, in fact, answering the interview questions you really don''t understand is useless. You need to learn and practice programming, not interview passing. Do you want to fool the interviewer and take a position which is more adequate to some knowledgeable candidate? Or do you want to fool yourself that you can do the job?

And please keep in mind: if you learn the answer by reading the answer of some other person, you still do not know the subject. You can say you know it if you at least try to develop appropriate application techniques, make it working and makes sure you deeply understand what''s going on during run time.

—SA


这篇关于如何使用隐藏控件和POST方法在html页面之间传递值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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