FYI FOR ALL OF YOU WHO TRIED TO HELP WITH THIS ERROR YESTERDAY. THE PROBLEM HAS BEEN RESOLVED..
INVALID-NON WORKING .... <script language="JavaScript" src="/includes/calendar.js" /> VALID-WORKING.... <script language="JavaScript" src="/includes/calendar.js" ></script> boy did this _iss me off. thanks, Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/22/2005 1:23:46 PM >>> Eric, No javascript guru here, but... 1) Are you sure that this function is there? (check page source) yes at the top 2) Is this function declared at the very bottom and it's a huge and slow loading page and you are clicking that button *before* the page is completely loaded? I wait till page is loaded and have same problem 3) Is the word "javascript" really needed when it's inside "onClick" attribute? What would happen if you removed it and just left it as onClick='showlReport(81)'? I thought the same thing, so I removed the javascript: but still have same problem. thanks though!!! -- Take care, NG On Tue, 22 Feb 2005 13:09:10 -0700, Eric Lemle <[EMAIL PROTECTED]> wrote: > Yes, already did that, and it does not even get to the function. > It seems to think the function is not there but it actually is. ??? > > > Eric D. Lemle > Senior Programmer / Analyst > Intermountain Health Care > 36 South State Street, Suite 1100 > Salt Lake City, Utah 84111 > United States of America (USA) > (801) 442-3688 -- e-mail: [EMAIL PROTECTED] > > >>> [EMAIL PROTECTED] 2/22/2005 12:45:28 PM >>> > Those types of errors are always a pain to debug (although I hear tell > Firefox is rather good for such things... I wouldn't know, I'm a > Maxthon > user myself). If you are like me though and tend towards the manual > debugging approach... > > I'd start by throwing an alert("1"); at the start of your > showIReport() > function. See if your getting there or not. That will narrow down > the > location of the problem by half :) > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > > On Tue, February 22, 2005 2:40 pm, Eric Lemle said: > > I have an error on this line.... and it use to work... > > > > <input name="Ireport1" value="Itinerary Report" type="button" > > onClick='javascript:showIReport(81);' > > > > > the method is in the view source file.... > > > > > > function showIReport( id ) { > > childWindow=window.open( > > > 'SiteVisitAction.do?dispatch=display&imode=Modify&report=true&site_visit_id='+id, > > 'Itinerary_Report', > > > 'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=800,height=800'); > > childWindow.focus(); > > } > > > > > > > > Please help. > > > > Eric D. Lemle > > Senior Programmer / Analyst > > Intermountain Health Care > > 36 South State Street, Suite 1100 > > Salt Lake City, Utah 84111 > > United States of America (USA) > > (801) 442-3688 -- e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]