Tried it.  Didn't work still. The numbers were just for tracking.

After some additional test,  I found dojo screwing things up.  Thanks
anyway.  :)
On Jun 11, 2013 11:39 AM, "Dave Watts" <[email protected]> wrote:

>
> > <cfif qryCaseID.recordcount EQ 1>2
> >         <cfoutput>3
> >                 <script>4
> >
> window.open=('#cgi.HTTP_HOST##myself#caseDetails.editCaseInfo&caseId=#qryCaseID.caseId#','_self');
> >                 </script>5
> >         </cfoutput>6
> > <cfelse>7
> > ======================
> > I've tried cflocation, I've tried window.location.href and nothing...
> >
> > I verified that qryCaseID.Recordcount is indeed 1.. In fact, the output
> I get is 1 2 3 5 6
> >
> > So for some reason, the script is not firing..
>
> The command "4 window.open(...)" is not valid JavaScript. You can't
> just drop a literal value in a JavaScript block and expect it to run.
>
> Get rid of your numbers, and run it with Firebug or Chrome Developer
> Tools and see what you get.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355898
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to