Is there a HTML code to clear data on FRAME in an HTML form on change of value of a Combo box?
Please help me.This message has been edited. Last edited by: Kerry,
WebFOCUS 7.6 Windows, All Outputs
March 01, 2011, 03:52 PM
Waz
You can only do what HTML / Javascript will let you do.
For example.
You can change the location of the Frame. If the contents of the fram are in the same webserver, you can access the page in the frame.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
March 02, 2011, 02:37 AM
GamP
You can set the src of the frame to something like an empty html file. That's the way I do it. The javascript I use is (assuming the name of the frame is 'graph1'): window.top.frames.graph1.location.href = '/approot/folder/empty.htm';
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
March 02, 2011, 08:19 AM
MAdams1
If it helps, this is the code I use to clear an HTML frame. You would just put it in the on_change event of your combobox.
WebFOCUS Server 8.1.05 Windows 2008 Server WebFOCUS AppStudio 8.1.05 Windows 7 Professional IE 11 and Chrome Version 43.0.2357.124 m. Mostly HTML, PDF, Excel, and AHTML