开发者

Change property from another form

I want to change propetry of several controls from another form. For example I'm in form2.when 开发者_高级运维I click the button1, I want to change the text of textbox1 in form1 to another text. How to I can do this. Thanks.


I would do this by binding the first button with jQuery to modify the values of the other form.

example:

$("form1 :button").click(function(){ $("form2 #textbox1").val("You clicked button1")};
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜