Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Everyone,

I have this small problem which you could help me with. Upon deploying the compiled files to a our test server, everything seems fine but somehow, there was this clickable "hidden" field on the page that our QA encountered.
Thanks for any ideas as I've already tried google and banging my head on my desk but to no avail.

Cheers.
Reima Cram

Sample Screenshot
http://i1247.photobucket.com/albums/gg635/reimacram/WeirdHiddenField.jpg[^]

Code

<div id="Loading">
    <img alt="" src="images/progress.gif" /><span style="font:Verdana 12px; color:Red">Please wait while loading...</span>
    </div>

    <table id="tblSearchHeader" border="0" cellpadding="0" cellspacing="0" width="100%">
       <tr>
        <td style="background: lightgrey; height: 20px; text-align: left">
            <span style="font-size: 8pt; color:saddlebrown; font-family: Verdana"><strong>Remedy Transaction - Search Criteria</strong></span></td>
    </tr>
    <tr>
        <td style="height: 10px; text-align: left;"></td>
    </tr>
</table>

<table id="tblSearch" border="0" cellpadding="0" cellspacing="0" width="620px">
    <tr>
        <td class="FontText" style="height: 15px; width: 150px">
            Process Status
        </td>
        <td class="FontText" style="height: 15px; width: 470px">
            <select id="ddlProcessStatus" style="font-family:Verdana; font-size:8pt;">
                <option value="0">
                    Select...
                </option>
                <option value="U">
                    U - Unprocessed
                </option>
                <option value="R">
                  R - Remedied not yet confirmed
                </option>
                <option value="C">
                  C - Confirmed not yet transferred
                </option>
           </select>
        </td>
    </tr>
    <tr>
        <td class="FontText" style="height: 15px;">
            Store ID
        </td>
        <td class="FontText" style="height: 15px;">
            <input id="txtStoreID" type="text" style="font-family:Verdana; font-size:8pt; width:130px" maxlength="4"/>
        </td>
    </tr>
    <tr>
        <td class="FontText" style="height: 15px;">
            Machine ID
        </td>
        <td class="FontText" style="height: 15px;">
            <input id="txtMachineID" type="text" style="font-family:Verdana; font-size:8pt; width:130px" maxlength="3" />
        </td>
    </tr>
    <tr>
        <td class="FontText" style="height: 15px;">
            Transaction Date From
        </td>
        <td class="FontText" style="height: 15px;">
            <input id="txtDateFrom" type="text" style="font-family:Verdana; font-size:8pt; width:130px" maxlength="10" />
            (DD-MM-YYYY)
        </td>
    </tr>
    <tr>
        <td class="FontText" style="height: 15px;">
            Transaction Date To
        </td>
        <td class="FontText" style="height: 15px;">
            <input id="txtDateTo" type="text" style="font-family:Verdana; font-size:8pt; width:130px" maxlength="10"/>
            (DD-MM-YYYY)
        </td>
    </tr>
    <tr>
        <td class="FontText" style="height: 15px;">
            Merchant Code
        </td>
        <td class="FontText" style="height: 15px;">
            <input id="txtMerchantCode" type="text" style="font-family:Verdana; font-size:8pt; width:130px" maxlength="3"/>
        </td>
    </tr>
    <tr>
        <td class="FontText" style="height: 15px;">
            Account No.
        </td>
        <td class="FontText" style="height: 15px;">
            <input id="txtAccountNo" type="text" style="font-family:Verdana; font-size:8pt; width:130px" maxlength="50" />
        </td>
    </tr>
    <tr>
        <td class="FontText" style="height: 15px;">
            Sequence No.
        </td>
        <td class="FontText" style="height: 15px;">
            <input id="txtSequenceNo" type="text" style="font-family:Verdana; font-size:8pt; width:130px" maxlength="4" />
        </td>
    </tr>
     <tr>
        <td colspan="2" align="left">
            <input id="btnSearch" type="button" value="Search" style="width:100px"/>
            <input id="btnReset" type="button" value="Reset" style="width:100px" />
        </td>
    </tr>
</table>

    <div id="GridviewData">
    <div id="result"></div>
    </div>
Posted
Updated 18-Feb-13 11:09am
v3
Comments
Sergey Alexandrovich Kryukov 17-Feb-13 20:57pm    
I don't observe it. Please check up again.
—SA
Reima Cram 17-Feb-13 21:06pm    
I'm not sure whether the Jquery stuffs I've included somehow produced it. I'm using ajax.postbacks and javascript validations but then it's just a landing page and first page load. The search button in the screenshot has not been clicked yet.
Sergey Alexandrovich Kryukov 18-Feb-13 15:55pm    
By the way, your code sample is not a valid HTML. It's parsed and rendering anyway. Isn't the "pre" tag at the very beginning a mistake (artifact of formatting for the question)? Even if you removed it, it's not well-formed. Try to fix it and see what happens.
—SA
Marco Bertschi 18-Feb-13 16:36pm    
Can you add the CSS file so we can se your style settings?
Reima Cram 18-Feb-13 20:20pm    
Hello. I looked it up and found this css sample code for the calss "Font-Text"

.FontText
{
color: Black;
font-family: Verdana;
font-size: 10px;
}

Thank you for your time.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900