showing a DEFAULT HIDDEN TEXT BOX on button click

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MunirAhmedJaved
    New Member
    • Feb 2014
    • 2

    showing a DEFAULT HIDDEN TEXT BOX on button click

    I want to hide a textbox whenever my page loads..
    Then on a button click event.., I want the hidden textbox to become visible ..
    Is this possible ?
    Please do help me ..
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    This thread has been moved to the javascript forum because php is server side and what you want to do is client side.

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      Is this possible ?
      yes. let JavaScript simply change the text fields class name that is applying the hiding CSS.

      Comment

      • MunirAhmedJaved
        New Member
        • Feb 2014
        • 2

        #4
        can u suggest me a working code ??

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          we’re not a free coding service.

          but if you have anything, we will help on it.

          Comment

          • omerbutt
            Contributor
            • Nov 2006
            • 638

            #6
            include jquery.js to your page and use

            Code:
            <script type='text/javascript'>
            ('#fieldname').toggle();
            </script>

            Comment

            Working...