contact  |  about  |  sitemap

save a pdf?
Last Post 03 Mar 2009 09:31 AM by Support Team. 1 Replies.
Sort:
PrevPrev NextNext
Author Messages
dltrial

--
02 Mar 2009 09:47 PM
I used a Djuggler script to navigate to a web page which has a Javascript function and a form in the source. Here are the lines in the source
*****************************************************************************************
<SCRIPT language=JavaScript>function submitMSDSSearch(country,language){document.MSDSSearch.country.value = country;document.MSDSSearch.language.value = language;document.MSDSSearch.submit();}</SCRIPT>

<form> name=MSDSSearch action=/MSDS/MSDS/PleaseWaitMSDSPage.do method=post target=new_window cM1="2"><INPUT type=hidden name=country cM1="2" cM2="0" cM3><INPUT type=hidden name=language cM1="2" cM2="1" cM3><INPUT type=hidden value=W200220 name=productNumber cM1="2" cM2="2" cM3><INPUT id=brand type=hidden value=ALDRICH name=brand cM1="2" cM2="3" cM3><INPUT id=PageToGoToURL type=hidden value=/catalog/ProductDetail.do?symbol=W200220&Brand=ALDRICH name=PageToGoToURL cM1="2" cM2="4" cM3><INPUT id=requestMsds type=hidden value=true name=requestMsds cM1="2" cM2="5" cM3><INPUT id=btnGo1.x type=hidden value=1 name=btnGo1.x cM1="2" cM2="6" cM3></form><A href="javascript:submitMSDSSearch('US','en');" cmImpressionSent="1">MSDS</A><BR>
*********************************************************************************************


If I put this line in the script--


Execute JavaScipt code or function submitMSDSSearch('US','en') in source [WebPage1]--


a new Internet Explorer window opens (not a Djuggler Web viewer) with the Page that I want to download or save which is presented as a PDF file. But the URL looks like this:


http://www.-----------.com/MSDS/MSD...DSPage.do,


which is not a page which can be navigated to simply by opening by using the URL. The results depend on the product number which is a hidden value in the form.

Manually I would click on 'Save a copy' in order to save it. Since I don't have a URL I can't use the Djuggler 'Download' instruction to save it.

What can I do?
Support Team

--
03 Mar 2009 09:31 AM
Hi, it is hard to say what goes wrong without having the web page url and the actual script.

Please use the support form to send us your question and attach your script, so we can run it here for a debug.
http://www.djuggler.com/support.aspx

Kind regards,
Support Team


Quick Reply
toggle
  Username:
Subject:
Body:
Security Code:
Enter the code shown above:

Submit

Powered by Active Forums

Forum participation and optional registration

You don't need to be registered to partcipate in the Djuggler forums, however if you want to subscribe to email notifications you need to register. You can also subscribe to the forum RSS feed.