SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Non-Member
    Join Date
    Jun 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to save textbox value in session on blur event

    Hi to all
    i want to store current textbox value in session on onblur event of textbox.
    how can i do this. i am using javascript ans asp.net 1.1. And
    How can i call server side function on onblur event of textbox.

    Thanks.

  2. #2
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you want to send values to the server, you'll need an Ajax call. How you do that depends on whether you're using a library, or writing all your code from scratch. I seem to remember .NET had some Ajax thing (Atlas?) built in.
    Last edited by Buddy Bradley; Jul 6, 2007 at 03:04. Reason: carp speeling

  3. #3
    Non-Member
    Join Date
    Jun 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re how to save textbox value in session on blur event

    Hi Budly,
    Yes i am using ajax for that purpose i am sending textbox value via query string and then saving it to session.But if write a lot text in textbox then there might be some problem.How can i call a server side function in ajax javascript where i am storing textbox value directly instead of passing via query string.

    Thanks.
    Last edited by rahuldotnet; Jul 6, 2007 at 05:08.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •