____________________________________________________-----Original Message-----
From: Greg Nudelman
Sent: Tuesday, January 14, 2003 11:48 AM
To: JDJList
Subject: [jdjlist] Re: _javascript_ and cookiesDear Luc,> Even with the tag correct, it will not make the cookie with the image type button, with the submit type it will.As I said in my earlier email, you would probably benefit from using the alert() function to walk through your program. If there is one bug, there may be others. Like I said, start with small simple functions, isolate the problem to the test.html page and then put it back into your JSP. Too much code on one page will make you do the errors like the one below.> What does <TD> and <DIV> have to do with this?<DIV id ="abc" ><INPUT TYPE="image" ALT="Logon" VALUE="Logon" NAME="logon" SRC="" WIDTH="140" HEIGHT="27"ALIGN="top" BORDER="0"></DIV>DIV is a great "universal wrapper" element that works with the onClick attribute (and many other useful things). Same with TD/TH/TR (if your image is in the table) but only (to my knowledge) in the latest IE versions. But your <INPUT TYPE="image"> should work correctly with the onClick -- there maybe other bugs in your code. Debug carefully, this is a detail and patience game.Greg____________________________________________________-----Original Message-----
From: Luc Foisy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 10:49 AM
To: JDJList
Subject: [jdjlist] Re: _javascript_ and cookiesThat wrong tag might have been an issue if that tage was ever used. If you look back at the original source code, that tag was only used for a contact logon, and not a role logon. Up to this time, all my testing has been with the role logon type. It was just a matter of which one got the selection when I just pasted to the email.But thanks for the correction.Even with the tag correct, it will not make the cookie with the image type button, with the submit type it will.What does <TD> and <DIV> have to do with this?I like my editor, NoteTabPro, CTRL-M and I could have seen it, but I wasn't looking on that line.____________________________________________________-----Original Message-----
From: Greg Nudelman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 1:14 PM
To: JDJList
Subject: [jdjlist] Re: _javascript_ and cookies<TD> and <DIV> both have onClick() events.
Also, there is an error in your tag. Look carefully:
OK:
<INPUT TYPE="image" ALT="Logon" VALUE="Logon" NAME="logon" SRC="" WIDTH="140" HEIGHT="27" ALIGN="top" BORDER="0" >
Wrong:
<INPUT TYPE="image" ALT="Logon" VALUE="Logon" NAME="logon" SRC="" WIDTH="140" HEIGHT="27" ALIGN="top" BORDER="0" )>
I would suggest emacs with html helper mode or editplus to see this kind of thing more clearly.
Greg
-----Original Message-----
From: Luc Foisy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 10:09 AM
To: JDJList
Subject: [jdjlist] Re: _javascript_ and cookies
Darn it to heck and back!!
<INPUT TYPE="image" ALT="Logon" VALUE="Logon" NAME="logon" SRC="" WIDTH="140" HEIGHT="27" ALIGN="top" BORDER="0" )>Does not work!!
When I use
<INPUT TYPE="submit" VALUE="Logon" NAME="logon" )>it works!
I think that is telling me that TYPE="image" ignores ONCLICK events. How retarded is that..
I really would like to keep my pretty button as opposed to the ugly grey block, anyone got a clue what I could do instead?
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfmBe respectful! Clean up your posts before replying
____________________________________________________
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________
