can assist me in should query, unfortunately not web developer code below literally extent of knowledge. basically, i'm creating simple webpage executes cgi script , returns results of executed command. part works, whats driving me nuts is...
want have several buttons, trigger different cgi scripts send results same iframe (i.e. iframe id="commandoutput_iframe" one) therefore referencing iframe once in code. @ moment, i'm sure shall deduce buttons reload entire page , scripts within.
i've read plenty of suggestions of using jquery knowledge zilch on have no idea i'm supposed code. far i've got... know how can make happen? i'd obliged ya - make avatar happier!
code:
<html> <head> <title>engineering page</title> <img src="logo.png"> <h4>server system health</h4> <body> <form> <button id="systemstatus" onclick="show()">server check</button> </form> <iframe id="commandoutput_iframe" src="../cgi-bin/sysinfo.cgi" width="900" height="600"></iframe> </body> <h4>system cluster check</h4> <body> <form> <button id="clustercheck" onclick="show()">perform cluster check</button> </form> <iframe id="commandoutput_iframe" src="../cgi-bin/test.cgi" width="500" height="200"></iframe> </body> </html>
Forums Special Interests Web Design and Development
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment