O
OccasionalFlyer
I am working on changing some HTML. I need to find how the value of a
hidden field is being set. The value of the hidden field will be set
based upon a user selection. This HTML has a hidden field. The value
of the hidden field comes from a value that is not displayed but is
associated with a field in a select list that is displayed (after
being populated on the fly). The author of this 4000+ line HTML file,
wrote JavaScript that is well beyond my "a little past beginner"
JavaScript knowledge.
What I need is to figure out where the code is that moves a value
to this hidden field, because I need to do the same thing elsewhere.
However, after looking at a lot of this file, I am at a loss as to how
this magic is done. I don't know what to search for, and don't know
if at some point some function is called and the actual name of the
hidden field isn't used there or what. I searched for the hidden
field elsewhere in the file but I did not find anything like
hidden_field_name = selected_item. Can someone please suggest a way
to figure out how this element gets updates? It does not have an
onChange() event on the form element. Thanks.
Ken
hidden field is being set. The value of the hidden field will be set
based upon a user selection. This HTML has a hidden field. The value
of the hidden field comes from a value that is not displayed but is
associated with a field in a select list that is displayed (after
being populated on the fly). The author of this 4000+ line HTML file,
wrote JavaScript that is well beyond my "a little past beginner"
JavaScript knowledge.
What I need is to figure out where the code is that moves a value
to this hidden field, because I need to do the same thing elsewhere.
However, after looking at a lot of this file, I am at a loss as to how
this magic is done. I don't know what to search for, and don't know
if at some point some function is called and the actual name of the
hidden field isn't used there or what. I searched for the hidden
field elsewhere in the file but I did not find anything like
hidden_field_name = selected_item. Can someone please suggest a way
to figure out how this element gets updates? It does not have an
onChange() event on the form element. Thanks.
Ken