Jump to content
Sign in to follow this  
Linuxuser1234

how can i pull images from a website using ComboEdit

Recommended Posts

How can i display different  images from a website when a item from a ComboEdit  here is the website 

https://weather.ral.ucar.edu/upper/   on the the website there is a map and the labels are clickable  and i would like the image to be displayed in 

ImageViewer 

Edited by Linuxuser1234

Share this post


Link to post

You can inspect the source of the webpage. By clicking you execute the javascript:

 

function getImage(clicked) {
  var enddate = document.getElementById("endDate").value;
  var endtime = document.getElementById("endTime").value;
  var duration = document.getElementById("duration").value;
  var url = "displayUpper.php?img=" + clicked + "&endDate=" + enddate + "&endTime="
  + endtime + "&duration=" + duration;
  window.location.href = url;
  }

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×