Mar 24, 2006 #1 PSFMIS MIS Joined Feb 3, 2006 Messages 28 Location US Why would this set the unempyn field on the opener window to the value Y that I'm comparing it to?? Something must be wrong my my syntax... Code: if(opener.document.MainForm.unempyn.value = 'Y'){ } Help, Aaron
Why would this set the unempyn field on the opener window to the value Y that I'm comparing it to?? Something must be wrong my my syntax... Code: if(opener.document.MainForm.unempyn.value = 'Y'){ } Help, Aaron
Mar 24, 2006 #2 audiopro Programmer Joined Apr 1, 2004 Messages 3,165 Location GB Don't do javascript but the same thing happens in PERL. Try..... Code: if(opener.document.MainForm.unempyn.value [b]==[/b] 'Y'){ } If smoke comes out of the back of your box - It wasn't me! Keith http://www.studiosoft.co.uk Upvote 0 Downvote
Don't do javascript but the same thing happens in PERL. Try..... Code: if(opener.document.MainForm.unempyn.value [b]==[/b] 'Y'){ } If smoke comes out of the back of your box - It wasn't me! Keith http://www.studiosoft.co.uk
Mar 24, 2006 Thread starter #3 PSFMIS MIS Joined Feb 3, 2006 Messages 28 Location US Well what do you know .. just needed one extra equal sign to make it all better. Thanks! Aaron Upvote 0 Downvote