calling javascript functions from code behind?`

Last post 07-24-2007 12:23 PM by naturehermit. 3 replies.

Sort Posts:

  • calling javascript functions from code behind?`

    07-24-2007, 11:18 AM
    • Loading...
    • enigma23
    • Joined on 07-10-2007, 9:55 PM
    • Posts 6

    I have a page with 2 controls, a textbox and a button. I would like the button pressed event in the code behind to take the text in the textbox and pass it as an argument to a javascript function i have written that should then execute. Is this possible? 

  • Re: calling javascript functions from code behind?`

    07-24-2007, 11:54 AM

    If I understand your question correctly, yes its possible.

    Please Mark Post that helped you as answer, also include a summary of what solved the problem as it helps others in similar situations
  • Re: calling javascript functions from code behind?`

    07-24-2007, 12:03 PM
    • Loading...
    • enigma23
    • Joined on 07-10-2007, 9:55 PM
    • Posts 6
    Ok, How do i do this then?
  • Re: calling javascript functions from code behind?`

    07-24-2007, 12:23 PM

    I will code for you if you develop the scenario and post it here..

    so post what you will like in your code behind and which javascript you want to pass the text to.

     

    Please Mark Post that helped you as answer, also include a summary of what solved the problem as it helps others in similar situations
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter