validating javascript? (2 posts)

  1. Jinsan
    Posted 10 years ago #


    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
    Posted 10 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