Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Text Change Event

Text Change Event

Scheduled Pinned Locked Moved ASP.NET
javajavascripttoolshelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sekannak
    wrote on last edited by
    #1

    Hi, I created one Java script function, its validating between two cells from gridview , like if(cell[1] < cell[2]) if it so i am populating alert("wrong input"); return false; if its false then the Text Change event should not fire from Code behind..but This event is fired even function return True/false.. That to i was called the Javascript function in Onblur event ...can u give me the Solution for this issue??? regards, kannak.....

    kannak

    G 2 Replies Last reply
    0
    • S sekannak

      Hi, I created one Java script function, its validating between two cells from gridview , like if(cell[1] < cell[2]) if it so i am populating alert("wrong input"); return false; if its false then the Text Change event should not fire from Code behind..but This event is fired even function return True/false.. That to i was called the Javascript function in Onblur event ...can u give me the Solution for this issue??? regards, kannak.....

      kannak

      G Offline
      G Offline
      Gamzun
      wrote on last edited by
      #2

      How you invoking you event? Is it through js?

      Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif

      1 Reply Last reply
      0
      • S sekannak

        Hi, I created one Java script function, its validating between two cells from gridview , like if(cell[1] < cell[2]) if it so i am populating alert("wrong input"); return false; if its false then the Text Change event should not fire from Code behind..but This event is fired even function return True/false.. That to i was called the Javascript function in Onblur event ...can u give me the Solution for this issue??? regards, kannak.....

        kannak

        G Offline
        G Offline
        Gamzun
        wrote on last edited by
        #3

        There's a possibility of having some error in your js, if so, the event will fire weather it's true or false.

        Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups