WordPress.org

Ready to get started?Download WordPress

Forums

validating javascript? (2 posts)

  1. Jinsan
    Member
    Posted 9 years ago #

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sekhu.net%2Fwp%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1&outline=1&verbose=1

    I'm getting an error when validating the page. The error comes up:

    Line 74, column 71: duplicate specification of attribute "onsubmit"

    ...c8e97b5609eb88dffb1464');" onsubmit="return liveSearchSubmit()" id="searchfo

    Is that to say I can't have 2 onsubmit values? How would I go about fixing it, without borking the plugin? It's part of the livesearch code.

  2. Jinsan
    Member
    Posted 9 years ago #

    Is there any alternate code I could use instead, something that won't cause duplication errors? Is there a another way to implement livesearch so that it doesn't display this error?

Topic Closed

This topic has been closed to new replies.

About this Topic