For what it's worth, I got a small sample working.

The screen prompts for a store number.  Each time a key is released it 
calls the ajax program to go get the pharmacists at the store.  It 
passes back an html document that I load in a <div>.  The names are in 
a table, and when you click on the name, it puts it in the name prompt.

Here's the body of my html prompt screen:
/$xmltop
<form>
<strong>Store:</strong>
<input type="text" name="storeid" size="5" onKeyUp="AJAX_RxName
(event,'result_div','xmltest2.pgm');">
<strong>Name:</strong>
<input type="text" name="fullname" size="50">
</form>

<div id="result_div" style="display:none;"></div>

Here's the html document that I load into the <div> in the above html:
/$top
Content-type: text/html

<html>
<body>
<table border="2" rules="none" bgcolor="white" bordercolor="black">
/$detail
<tr>
<td /%bgcolor%/ 
onMouseOver="this.style.cursor='hand'"onMouseOut="this.style.cursor='de
fault';"onClick="document.forms[0].fullname.value='/%
fullname%/';AJAX_ClearDiv('result_div')">
/%fullname%/
</td>
</tr>
/$end
</table>
</body>
</html>

Not sure if any of that will help or not, I'm still playing with it 
all.  Also haven't tested it in anything but IE.
Glenn.






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to