JavaScript Access to Button in form tags (webcontrol or html button)

Discussion in 'ASP .Net' started by Wes Weems, Jul 19, 2003.

  1. Wes Weems

    Wes Weems Guest

    Hello,

    I have a button called LoadBtn, which exists in <form name="Form1"
    runat=server></form> tags.

    I then have javascript loaded outside of that form, and apparently I cant
    call any methods of that object (particularly the disabled property)... as
    it says:

    'document.Form1.LoadBtn' is null or is not an object!

    to anyone who can offer any advice whatsoever (regarding accessing objects
    that exist in the form tags, would be greatly appreciated!)

    Wes
     
    Wes Weems, Jul 19, 2003
    #1
    1. Advertising

  2. Wes Weems

    Natty Gur Guest

    What about the ID attribute ?

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Natty Gur, Jul 20, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dean H. Saxe
    Replies:
    0
    Views:
    1,052
    Dean H. Saxe
    Jan 3, 2004
  2. Guest
    Replies:
    2
    Views:
    742
  3. Rob Nicholson
    Replies:
    3
    Views:
    777
    Rob Nicholson
    May 28, 2005
  4. Donald Firesmith

    html tags within meta tags allowed?

    Donald Firesmith, Jan 5, 2005, in forum: XML
    Replies:
    5
    Views:
    918
    Andy Dingley
    Jan 8, 2005
  5. Replies:
    0
    Views:
    506
Loading...

Share This Page