Help with JavaScript-VBForums
Results 1 to 2 of 2

Thread: Help with JavaScript

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2012
    Posts
    63

    Help with JavaScript

    I apologize if this isn't the correct area on the forum for this.

    However I need to make a javascript function that on page load clears all textboxes. then when a single textbox is clicked all other textboxes are disabled until the user has finished and hit the "save button", then all textboxes are enabled again.

    I have no clue how to do this. Any help would be greatly appreciated.

  2. #2
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Help with JavaScript

    Hello,

    For the first part of the question, have a look here:

    http://www.javascript-coder.com/java...set-form.phtml

    For the second part, it isn't very clear what you are asking for. You mention when a "single textbox is clicked" however, you don't typically "click" a TextBox, unless of course you are setting the focus onto that TextBox. Did you mean a Button? If so, can you provide more information about exactly what you are trying to achieve?

    Gary

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.