如何使用jquery将母版页文本框值传递给内容页面 [英] How To pass the master page textbox value to content page using jquery
问题描述
您好我的主页弹出窗口弹出我有提交按钮,一旦我点击弹出窗口中的提交按钮我需要将数据传递给数据库它已成功完成但同时我需要传递一些文本框值内容页面并在单击提交时绑定标签中的那些数据需要通过db和内容页面。和内容页面显示在页面加载中检索到的数据我不知道这样做任何人都知道该过程怎么办
i需要使用客户端没有服务器端使用jquery和ajax
这可能会有所帮助:使用jQuery在主页面中查找控件 [ ^ ]
使用qurey字符串
jqurey
(#div_fullprofl,divcop).html(' Viwe完整档案')
C#
< span class =code-keyword> protected void Page_Load( object sender,EventArgs e)
{
string prof_ID = Context.Request.QueryString [ Reg_id] ;
会话[ regid _] = prof_ID;
将此会话ID传递给
arparams [1] = new SqlParameter(@ regId,regId); û
Hi i have my master page with popup in popup i have submit button, once i click the submit button in popup i need to pass the data to db it done successfully but at the same time i need to pass some textbox value to content page and bind that in label while click submit those data need to be pass both db and content page. and content page show that retrieved data in page load i dont' have any idea to do this can any one know the process how to do
i need to do this using only client side no server side using jquery and ajax
This may help: Finding Controls in a Master Page with jQuery[^]
use the qurey string
jqurey
("#div_fullprofl", divcop).html('Viwe full Profile ')
C#
protected void Page_Load(object sender, EventArgs e) { string prof_ID = Context.Request.QueryString["Reg_id"]; Session["regid_"] = prof_ID;
pass this session id to
arparams[1] = new SqlParameter("@regId",regId); u
这篇关于如何使用jquery将母版页文本框值传递给内容页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!