PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

asp form producing javascript/validation issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • asp form producing javascript/validation issues

    hi there,
    i really have no idea what's going on here - so i thought i'd post the search box code that resides on the various pages in my site;

    <form action="../search/search.asp" method="get" name="search" id="search">
    <input type="text" name="zoom_query" class="zoomSearchbox" size="13" value="Search" onclick=”clickclear(this, ‘Search’)” onblur=”clickrecall(this,’Search’)”/>
    <input type="submit" value="Go" />
    </form>

    upon closer inspection i also have this code on certain pages;

    <form action="search/search.asp" method="get" name="search" id="search">
    <input type="text" name="zoom_query" class="zoomSearchbox" size="13" value="Search" onclick="clickclear(this, 'Search')" onblur="clickrecall(this,'Search')"/>
    <input type="submit" value="Go" />
    </form>

    as you can see some of the quotation marks are different - would this be causing the problem?
    thanks in advance
    Jas

  • #2
    ...would this be causing the problem?
    Well you didn't actually say exactly what the problem was. And this Javascript code is not our code, so we don't support it.

    But yes, as a general comment, messing up the quotes in Javascript could stop the Javascript code executing correctly.

    Comment

    Working...
    X