Skip to Content
0
Former Member
Dec 01, 2006 at 02:08 PM

Problem with open file in the same frame

24 Views

Hi experts,

I'd like to open an Html or PDF file in my iView .

It must be open in the same frame and I use

myForm.addRawText("<script>");

myForm.addRawText("open(\""url"\",\"_self\");");

myForm.addRawText("</script>");

But it does not work. By the way,

myForm.addRawText("open(\""url"\",\"_parent\");")

or

myForm.addRawText("open(\""url"\",\"_blak\");");

work perfect.

Can you please explain me that?

Thanks in Advance.

Raissa