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")};
精彩评论