digital420
05-26-2006, 07:03 AM
I am capturing from the request a value and want to find it in an iterited list i have in a jsp.
I made an anchor statement <a name="(request.value)" and it's iterated in a td set in a table, producing exactly as it should. I want to though capture the last edited value (which im passing in the request) and find it in the list of anchor'd row's in the iterated table.
so what i'm doing is
var iam = document.userListFrm.lastEdited.value;
if ( document.userListFrm.lastEdited.value == 'null') {
alert('no one to find');
}
else {
alert(iam );
usersLister.location.href='document.userListFrm.lastEdited.value';
}
}
usersLister is the name of the iframe. and the jsp loads the value in the hidden field lastEdited.
anyone wanna let me know how i would call to the anchor, i used to use a goto command. not sure if it would be the best application here.
DiGiTaL
I made an anchor statement <a name="(request.value)" and it's iterated in a td set in a table, producing exactly as it should. I want to though capture the last edited value (which im passing in the request) and find it in the list of anchor'd row's in the iterated table.
so what i'm doing is
var iam = document.userListFrm.lastEdited.value;
if ( document.userListFrm.lastEdited.value == 'null') {
alert('no one to find');
}
else {
alert(iam );
usersLister.location.href='document.userListFrm.lastEdited.value';
}
}
usersLister is the name of the iframe. and the jsp loads the value in the hidden field lastEdited.
anyone wanna let me know how i would call to the anchor, i used to use a goto command. not sure if it would be the best application here.
DiGiTaL