Skip to main content
pyae phyoe shein
Known Participant
November 21, 2009
Question

Cfwindow javascript error

  • November 21, 2009
  • 2 replies
  • 3565 views

When I use following coding in my project, I got javascript error. This error shows as follow :

error: http: Error retrieving markup for element editWindow_body : Not Found......

<cfajaximport tags="cfwindow">

<script>

  function makeWin(x,y) {

      ColdFusion.Window.create('mywin','Windows Rules','win.cfm',{x:x+25,y:y+25});

  }

</script>

  <h2>Test</h2> 

  <p>

  This is the test <a href="" onclick="makeWin(event.pageX,event.pageY);return false;">link</a>.

  </p>

All responses will be appreciated.

This topic has been closed for replies.

2 replies

pyae phyoe shein
Known Participant
November 24, 2009

Oh gosh..!! Thanks all. It's because of my application.cfm file. When I create new website and make like before, it's fine.

Thanks for your time all.

BKBK
Community Expert
Community Expert
November 22, 2009

Make sure the page win.cfm exists within the current directory.

pyae phyoe shein
Known Participant
November 23, 2009

Nope. This file exists in current directory.Here is error message :

Inspiring
November 23, 2009

Hi,

I recently came across this blog, where I found something like, If we have any variables (or) form controls named as "action", then this error is bound to occur...

Here is the link,

http://blog.garthe.com/index.cfm/2008/1/2/CFWINDOW-and-CFFORM-doesnt-like-action-hidden-form-variable

HTH