Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2011
    Posts
    302
    Thanks
    7
    Thanked 0 Times in 0 Posts

    validator error code html5

    http://www.countyfairgrounds.net/ohio/ohio.php

    Line 749 Attribute change not allowed on element select at this point

    Here is the code
    it has something to do with "on change" but I don't know how to fix this

    <form name="menuForm">
    <select name="menu" style="font-family: Verdana,Arial,Helvetica; font-size: 10px; color: purple;
    font-weight:bold; "on change="top.location.href =this.options[this.selectedIndex].value;" >

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,789
    Thanks
    6
    Thanked 1,022 Times in 995 Posts
    Code:
    <select name="menu" style="…" onchange="top.location.href =this.options[this.selectedIndex].value;" >

  • #3
    Regular Coder
    Join Date
    Jan 2011
    Posts
    302
    Thanks
    7
    Thanked 0 Times in 0 Posts
    thanks -- works


  •  

    Tags for this Thread

    Posting Permissions

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