× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Don,

I assume you have an onclick/onchange event handler in your javascript that
triggers the value to change. Can you send that code. My first thought is
that it sounds like a case of faulty logic in the JS.

Milan


On 3/13/07, Don Cavaiani <dcavaiani@xxxxxxxxxxxxx> wrote:

I have a field which comes up in an update mode.  It is a time related
field, e.g., 01:30a.

When the field is displayed, the existing value from the file
displays.  The user may then use the dropdown arrow to select a different
time from the table of times displayed.

That table of times is brought in via the @query1()  - see below:

        <tr>
        <td><font color="#0066cc">Time Out(1)</font></td>
        <td>
              <select name="tsdou1" size="1"> value="tsdou1"
<option value=$(savou1)>$(savou1)</option>
       @query1()
        </td>
        </tr>

In the Javascript, I am trying to do some editing (sequencing) of the In
vs Out times.  The problem I am running into is that the tsdout1.valuefield seems to be 
"1 step behind" what it should be.  In other words, as I
put in or select a different time value, hit enter to validate, the
javascript does not work with the new time value selected.  It does however
work with the EXISTING value in that field - the value read in from the
file. I'm thinking the @query() is making this too complicated for the
Javascript?

Hope this makes sense.



Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063

'
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.