[thelist] NS7.1 return false JS issue

Tom Dell'Aringa pixelmech at yahoo.com
Mon Oct 20 08:52:01 CDT 2003


--- Jeff Howden <jeff at jeffhowden.com> wrote:
> tom,
> 
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > From: Tom Dell'Aringa
> > 
> > Works fine in IE, problem is NS7.1 is going to the link.
> > No idea why the return false is not working... anyone?
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> 
> what's the setServiceDate() function look like?

Here it is, nothing spectacular:

function SetServiceDate(theDate)
{
	var viewDate = document.getElementById("RequestedDate");
	var hidDate = document.getElementById("RequestedDateHid");
	
	viewDate.innerHTML = theDate;
	hidDate.value = theDate;
}

and here is my link with the function call again:

<a href="jsNotice.jsp" onmouseover="window.status='Select Date';
return true;" onmouseout="window.status=''; return true;"
onclick="SetServiceDate(this.id); return false;"
id="10/01/2003">1</a>

Just retested it again, still doesn't work in NS7.1 nor NS6.23

Tom

=====
http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: Premium Content Author / JavaScript / Every Friday!
http://www.thywordistruth.net/ :: Eternal Life

"That's not art, that's just annoying." -- Squidward


More information about the thelist mailing list