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. Alert Box

Alert Box

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 4 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.
  • B Offline
    B Offline
    Balwan
    wrote on last edited by
    #1

    Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh

    J C K 3 Replies Last reply
    0
    • B Balwan

      Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh

      J Offline
      J Offline
      J4amieC
      wrote on last edited by
      #2

      This is the third time you have posted the same exact question, keep it in the original thread! Plus, you have received good answers already - if you dont understand them then respond to the person who answered. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

      1 Reply Last reply
      0
      • B Balwan

        Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh

        C Offline
        C Offline
        chakkara2003
        wrote on last edited by
        #3

        go back to ur previous post, there u wil get the answer.if u want some thing else then please specify ur query correctly coolsweety

        1 Reply Last reply
        0
        • B Balwan

          Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh

          K Offline
          K Offline
          Kanjinghat
          wrote on last edited by
          #4

          I found that you have already pasted the same problem and got the pretty solutions for that. ok try as below add the follwing lines of code in between the head tags. <script language="javascript"> function Warning() { if(Uname.value=='') { alert("You must enter value"); Uname.focus(); } } <script> in the body tag <input type="Textbox" name="Uname"> <input type="Button" value="ClickMe" onClick="Warning()"> This will ensure that button click will always displays alert message when ever the TextBox is Empty. cheer Ramesh.Kanjinghat

          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