Hello all,

I was wondering how to do this:

  1. Enter values into and submit a form on site B from site A (using Javascript)
  2. Load the resulting url into the current site (site A) (using Javascript)

I have no idea if this is possible with Javascript, but any help would be much appreciated. If it is not possible with Javascript, what language would I need to do it in?

Thanks in advance!
Benjamin

It is possible if your site A accept the parameter via GET method. If so, you could construct a link and call the link instead of post. Though, it could be impossible if your data is very long or requires a lot of escaping...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.