Saturday, 15 June 2013

c# - Executing function located in code behind from JavaScript? -


I am using ASP.NET 3.5.

In my code I have this code that I need to execute with my javascript.

  Name the Private Sub Name (CreateName) as the string name = txtName.text End sub  

and this is my Javascript function

  & lt; Script type = "text / javascript" & gt; Function doSomething () {document.elqFormName.action = 'http://now.eloqua.com/e/f2.aspx' document.elqFormName.submit (); } & Lt; / Script & gt;  

So what would be the place in my javascript function to execute my function in my code?

Thanks in advance!

I'm not sure how VB works, but it's similar to C #. I have done this before and using AJAX.


No comments:

Post a Comment