SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,618
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Calling an element?

    would this call an element (whose name is Rating inside a form named form)?


    document.forms.form.Rating
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    form isn't really the best name for your form, so I'm going to mod your name to "someForm" just for the sake of clarity:

    document.someForm.Rating would work.
    Walk on my Path (my blog)

  3. #3
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,618
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I can't figure out why my star rating script isn't showing up.
    Can you do me a favor and tell me what the deal is, everything looks ok?
    http://lvasp.com/forum/reviewform.php (it should appear next to my combo box near the bottom)
    Thanks, heres an example site
    calling an element using javascript
    "Oh, and Jenkins--apparently your mother died this morning."


Bookmarks

Posting Permissions

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