|
Revision 264, 0.6 kB
(checked in by BCS, 4 years ago)
|
I have gone over to the dark side; I have created an AJAX web app framework. It lets you use AJAXy stuff to, from the client, access a JS proxy to a D object on the server. (and it's all templates ;-)
|
| Line | |
|---|
| 1 |
<html> |
|---|
| 2 |
<head> |
|---|
| 3 |
<script src='/script/request.js'></script> |
|---|
| 4 |
<script src='/cgi-bin/echo' language="javascript"></script> |
|---|
| 5 |
</head> |
|---|
| 6 |
<body> |
|---|
| 7 |
|
|---|
| 8 |
<FORM name ="F"> |
|---|
| 9 |
<TEXTAREA NAME="b" ROWS="4" COLS="60"></TEXTAREA><br/> |
|---|
| 10 |
<INPUT value="4" TYPE="button" onClick='document.forms["F"].elements["b"].value = Foo_Proxy.bar(1,"bob");'><br/> |
|---|
| 11 |
<INPUT value="hello" TYPE="button" onClick='document.forms["F"].elements["b"].value = Foo_Proxy.pig(1.3);'><br/> |
|---|
| 12 |
<INPUT value="13" TYPE="button" onClick='document.forms["F"].elements["b"].value = Foo_Proxy.cat(1,3);'><br/> |
|---|
| 13 |
</FORM> |
|---|
| 14 |
|
|---|
| 15 |
</body> |
|---|
| 16 |
</html> |
|---|