skylab
05-26-2006, 09:53 PM
I have some input checkboxes on a standard HTML form that contain long values. Some of these values must be too long because instead of showing up like this:
<input type="checkbox" name="Standards_1" value="[<A HREF="#" onClick="javascript:loadStand('PC.3.220'); return false;">PC.3.220 - From PC.3.140 Not applicable</A>]"><A HREF="#" onClick="javascript:loadStand('PC.3.220'); return false;">PC.3.220 - From PC.3.140 Not applicable</A><br>
They show up instead like this one:
<input type="checkbox" name="Standards_1" value="_vbcu42828a92kcf924ch20rre8dm6iorb7kh6kobmc5pm6sj9e1q3kr3fc5i56t31dpi2g9qg8cn36bhi6co2ea9r41p6at3le9 n20pj1dhpmaep27p846bhj5op36c105kg48qb1ctn6usrkd5hi0t35edq6irj741q6u834clq6asjdd5n6a83kd1ii0s31ehkmar jk04m76838clgmot3841hm2sj541n6apb4ecg6isp0e1in4pjfe9mmap1e7gnk2fit_"><A HREF="#" onClick="javascript:loadStand('PC.3.230'); return false;">PC.3.230 - Diagnostic testing to determine the patient’s health care needs is performed.</A><br>
When I use JavaScript to read the "value" of the field I get this encoded text. Very useless I'm afraid.
I guess what I need is either one of two things. I need to either figure out what this encoded text is encoded in and decode it or find some way to read the un-encoded text on the outside of the input value. I've tried to use innerHTML and outerHTML, but it won't grab the unencoded text. Is there another way to grab this text or does anyone know what this encoded text is encoded in and how to use a JavaScript to decode it? :confused:
Any and all suggestions are greatly appreciated. I'm afraid I haven't come across this before and I'm baffled. I've searched around a lot but after several hours of fruitless efforts I thought of my favorite forum for help. Thanks again. :thumbsup:
<<<<TIM>>>>
<input type="checkbox" name="Standards_1" value="[<A HREF="#" onClick="javascript:loadStand('PC.3.220'); return false;">PC.3.220 - From PC.3.140 Not applicable</A>]"><A HREF="#" onClick="javascript:loadStand('PC.3.220'); return false;">PC.3.220 - From PC.3.140 Not applicable</A><br>
They show up instead like this one:
<input type="checkbox" name="Standards_1" value="_vbcu42828a92kcf924ch20rre8dm6iorb7kh6kobmc5pm6sj9e1q3kr3fc5i56t31dpi2g9qg8cn36bhi6co2ea9r41p6at3le9 n20pj1dhpmaep27p846bhj5op36c105kg48qb1ctn6usrkd5hi0t35edq6irj741q6u834clq6asjdd5n6a83kd1ii0s31ehkmar jk04m76838clgmot3841hm2sj541n6apb4ecg6isp0e1in4pjfe9mmap1e7gnk2fit_"><A HREF="#" onClick="javascript:loadStand('PC.3.230'); return false;">PC.3.230 - Diagnostic testing to determine the patient’s health care needs is performed.</A><br>
When I use JavaScript to read the "value" of the field I get this encoded text. Very useless I'm afraid.
I guess what I need is either one of two things. I need to either figure out what this encoded text is encoded in and decode it or find some way to read the un-encoded text on the outside of the input value. I've tried to use innerHTML and outerHTML, but it won't grab the unencoded text. Is there another way to grab this text or does anyone know what this encoded text is encoded in and how to use a JavaScript to decode it? :confused:
Any and all suggestions are greatly appreciated. I'm afraid I haven't come across this before and I'm baffled. I've searched around a lot but after several hours of fruitless efforts I thought of my favorite forum for help. Thanks again. :thumbsup:
<<<<TIM>>>>