SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Aug 2001
    Location
    Amsterdam
    Posts
    788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    input checked in mozilla

    how can i have a input checkbox checked in navigator or mozilla???

    I now just use this:

    <input type="checkbox" name="name" checked/>

    please any ideas are welcome

    greets,

    peanuts
    the neigbours (free) WIFI makes it just a little more fun

  2. #2
    SitePoint Zealot 19nine78's Avatar
    Join Date
    Feb 2002
    Location
    Ayr, scotland
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    assuming your using xhtml (the extra slash gives it away)try:

    <input type="checkbox" name="name" checked="checked" />

    you may also want to make sure your adding a space before the '/>' bit at the end of the tag(see my example). Older broswer will have problems otherwise.


    cheers

    alastair


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
  •