Actually, my original code doesn't have an ID for the
HIDDEN input. They have the same Name though. Strange.
Keith Davis (214) 906-5183 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Hill Sent: Wednesday, June 28, 2006 3:09 PM To: rails-spinoffs@lists.rubyonrails.org Subject: RE: [Rails-spinoffs] Event.observe Actually, I think the
problem is that you have 2 inputs with the same id. That is technically
impossible, although Firefox tends to not complain about it (I think it just
grabs the first match). IE just dies because it doesn’t know what to
do. At least, that’s what I seem to remember. 2 elements are not
allowed to have the same id. Same name is fine, but be advised, most
server software will pack all of the values into an array, so you might be
expecting a string and get an array instead. Greg From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith Davis I figured out what the
problem is. I thought _javascript_ watched the ID not the name. As you can
see, I've got a hidden input before the checkbox. That is on purpose. Since IE
doesn't send unchecked checkboxes, I had to place a hidden before the actual
checkboxes to clear the values in the SQL or unchecking the box wouldn't have
any effect. This works in Firefox and until now, it worked in Internet Explorer.
Is there any other way I can specify the checkbox input
only? Keith
Davis (214) 906-5183 From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith Davis I just realized that
this works in Firefox, but not in Internet Explorer. Why would that
be? Keith
Davis (214) 906-5183 From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith Davis Aaarrrggh.
Here's the actual code that I need to work:
<INPUT TYPE="HIDDEN"
NAME="assess_int9" VALUE="">
:
</SCRIPT>
However, I did this as a test and it
doesn't work either and no error:
<INPUT TYPE="HIDDEN"
NAME="assess_int9" VALUE="">
:
_____________________
Keith
Davis - MCSA, A+, N+ |
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs