Click to See Complete Forum and Search --> : Help in returning html source to field


rpgdude
10-26-2004, 05:26 PM
Howdy all,
I can't find anyway to do the following, any help would be greatly appreciated:

Here is the scenario.
I have three fields.
I want to take field one(item number) and field two(quantity) and call a javascript script that passes these two fields to a server-side CGI script and have the result be placed in field three(price). The trick is that I don't want to refresh the page.

I would like something like window.location.href, but return the information back to the same page.

Thanks in advance,
RPGDude

7stud
10-26-2004, 05:43 PM
Hi,

Here are two techniques for accomplishing what you want:

http://www.dhtmlcentral.com/tutorials/tutorials.asp?id=11
http://developer.apple.com/internet/webcontent/xmlhttpreq.html

7stud
10-26-2004, 05:45 PM
duplicate post