-----------------------------------------------------------

New Message on cochindotnet

-----------------------------------------------------------
From: Ganesh
Message 3 in Discussion


try storing the javascript variable in some 
control. Try this out
 
 
<%@ Page language="c#" AutoEventWireup="true" 
%>
<script runat="server">
 void 
Page_Load()
 {
  Response.Write 
("Hello");
  this.Button1.Click += new 
System.EventHandler(this.Button1_Click);
 }
 
 void 
Button1_Click(object sender, System.EventArgs 
e)
 {
  TextBox2.Text = 
Text1.Value;
 }
</script>
<html>
 <HEAD>
  <script 
language="javascript">
   function 
GetVal()
   {
    document.Form1Text1.value 
= 
"abc";
   }
  </script>
 </HEAD>
 <body>
  <form 
id="Form1" method="post" runat="server">
   <INPUT 
runat="server" type="text" ID="Text1"> <input value="LoadVal" 
type="button" 
onclick="GetVal()"><br>
   <asp:TextBox 
id="TextBox2" 
runat="server"></asp:TextBox>
   <asp:Button 
id="Button1" runat="server" 
Text="GetVal"></asp:Button><br>
  </form>
 </body>
</html>


  ----- Original Message ----- 
  From: 
  YourBete 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, June 26, 2004 10:00 
  AM
  Subject: Doubt Javascript to VC#
  

  
    
      
      New Message on cochindotnet
    
      

  Doubt 
    Javascript to VC#


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: YourBete 
            
              
Hello ....,

I wirte some 
                applications in javascript.can i get
values stored in 
                javascrit variables to C# variables .
Please get me technical 
                support. hvae a nice 
                day




__________________________________
Do 
                you Yahoo!?
New and Improved Yahoo! Mail - 100MB free 
                storage!
http://promotions.yahoo.com/new_mail 
            

View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/cochindotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to