Doh!! Smacks myself in the head!! Thanks Ken! -----Original Message----- From: Ken Ferguson [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 11:04 AM To: CF-Talk Subject: Re: CF/JS (Invalid Argument)
It's the title. It can't handle the space. Try Code_Selection and I bet it works. I had this trouble recently too. --Ferg Adkins, Randy wrote: >Line: >var newwin = window.open(urlCodePage,"Code >Selection","HEIGHT=200,WIDTH=450,scrollbars=yes,resizable=yes"); > >At first I was thinking okay, IE chokes on the scollbars or resizable >but that is not the case, Nor the height and width attributes. > > >-----Original Message----- >From: Snake [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 28, 2005 10:39 AM >To: CF-Talk >Subject: RE: CF/JS (Invalid Argument) > >What line does it say the error is on. > > >-----Original Message----- >From: Adkins, Randy [mailto:[EMAIL PROTECTED] >Sent: 28 December 2005 15:30 >To: CF-Talk >Subject: CF/JS (Invalid Argument) > >Using IE 6.0 and the following JS, generates an error of" Invalid >Argument. >In Firefox 1.0.7 it runs fine. > >function popCodes(vRowID){ > alert("Row Counter = "+vRowID); > var urlCodePage = 'popFindCode.cfm?ID='+vRowID; > alert("url = "+urlCodePage); > > var newwin = window.open(urlCodePage,"Code >Selection","HEIGHT=200,WIDTH=450,scrollbars=yes,resizable=yes"); > >} > > >I added in the alerts to make sure the value was being passed >accordingly. >Yes it is a numeric value. > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227759 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

