The procedure for requesting AWR support has changed. Please read all about
the new AWR product support process.
...
HTML |
---|
<input type="button" value="Run Design Checker" onclick="run_check();"> <script type="text/javascript"> function return_html(Response) { /* this gets called once runAwrScript is complete */ var fnCall = JSON.parse(Response); if (fnCall.errCode == 0) { obj = document.getElementById("results"); var html = ""; for(var i = 0; i < fnCall.retValue.lenght; i += 1) { var html +="<h3>" + fnCall.retValue[i].Text + "</h3>"; } obj.innerHTML =html else alert("Failed to get project name"); } function run_check() { /* javascript does not wait for function completion so we need a callback function if we want a return value */ runAwrGlobalScript('Design_Checker','Design_Checker'); runAwrScript('parse_check', return_html); } </script> |
...