Click to See Complete Forum and Search --> : Autocompleting forms


Tim158
04-15-2003, 01:33 PM
Hi,

Here is my problem:

There is a form called 'orderForm', which I do not have access to. I need to transfer data to the 'orderForm' (from another page) and display the data in the fields of the 'orderForm'.

Is this possible using javaScript or PHP?
...or is it possible at all?

Thanks,

Tim.

khalidali63
04-15-2003, 02:10 PM
it is possible if both pages have a parent/child relationship

Cheers

Khalid

smoker2
04-28-2003, 08:38 AM
no it isn't I'm afraid.
parent/child is irrelevant.
What matters is the domain.
The browser security rules prevent it.
This may seem silly, because it is possible, but only if you can determine what the field names are in the form.
Unfortunately, I have yet to find a way of getting the source of a 3rd party website via javascript, as the browser keeps returning an error, method not permitted, or similar.
It is also impossible to get the current url of a 3rd party web page for the same reason.

If you have a signed script, then it may be possible, but I haven't got that far yet.

Please post if you find a way.

If the form you have in mind is on your own site then it is definitely possible.