Call to action at the end of a URL2019 Community Moderator ElectionWhat is the difference between a URI, a URL and a URN?Encode URL in JavaScript?Get current URL with jQuery?What is the maximum length of a URL in different browsers?How to modify the URL without reloading the page?Get the current URL with JavaScript?What is the difference between call and apply?How to change the URI (URL) for a remote Git repository?Open a URL in a new tab (and not a new window) using JavaScriptHow do I return the response from an asynchronous call?
Split a number into equal parts given the number of parts
Should we avoid writing fiction about historical events without extensive research?
Preparing as much as possible of a cake in advance
Does the US political system, in principle, allow for a no-party system?
Can a Mimic (container form) actually hold loot?
Why aren't there more gauls like Obelix?
Should I use HTTPS on a domain that will only be used for redirection?
What does "rhumatis" mean?
PTIJ: Mouthful of Mitzvos
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
A bug in Excel? Conditional formatting for marking duplicates also highlights unique value
Genitives like "axeos"
Is this nominative case or accusative case?
Replacing tantalum capacitor with ceramic capacitor for Op Amps
Can you run a ground wire from stove directly to ground pole in the ground
Are small insurances worth it
Remove object from array based on array of some property of that object
What is Tony Stark injecting into himself in Iron Man 3?
What can I do if someone tampers with my SSH public key?
Convert an array of objects to array of the objects' values
Was it really inappropriate to write a pull request for the company I interviewed with?
Affine transformation of circular arc in 3D
Rationale to prefer local variables over instance variables?
Can a Mexican citizen living in US under DACA drive to Canada?
Call to action at the end of a URL
2019 Community Moderator ElectionWhat is the difference between a URI, a URL and a URN?Encode URL in JavaScript?Get current URL with jQuery?What is the maximum length of a URL in different browsers?How to modify the URL without reloading the page?Get the current URL with JavaScript?What is the difference between call and apply?How to change the URI (URL) for a remote Git repository?Open a URL in a new tab (and not a new window) using JavaScriptHow do I return the response from an asynchronous call?
I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=
In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV
This is the code behind the button:
<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>
Thanks.
javascript html url button action
add a comment |
I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=
In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV
This is the code behind the button:
<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>
Thanks.
javascript html url button action
try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.
– Harsh Patel
yesterday
Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?
– Chris Kotsiopoulos
yesterday
I don't know about that. but I guess there isn't any tool for recording.
– Harsh Patel
19 hours ago
add a comment |
I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=
In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV
This is the code behind the button:
<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>
Thanks.
javascript html url button action
I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=
In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV
This is the code behind the button:
<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>
Thanks.
javascript html url button action
javascript html url button action
asked yesterday
Chris KotsiopoulosChris Kotsiopoulos
112
112
try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.
– Harsh Patel
yesterday
Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?
– Chris Kotsiopoulos
yesterday
I don't know about that. but I guess there isn't any tool for recording.
– Harsh Patel
19 hours ago
add a comment |
try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.
– Harsh Patel
yesterday
Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?
– Chris Kotsiopoulos
yesterday
I don't know about that. but I guess there isn't any tool for recording.
– Harsh Patel
19 hours ago
try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.
– Harsh Patel
yesterday
try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.
– Harsh Patel
yesterday
Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?
– Chris Kotsiopoulos
yesterday
Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?
– Chris Kotsiopoulos
yesterday
I don't know about that. but I guess there isn't any tool for recording.
– Harsh Patel
19 hours ago
I don't know about that. but I guess there isn't any tool for recording.
– Harsh Patel
19 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023045%2fcall-to-action-at-the-end-of-a-url%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023045%2fcall-to-action-at-the-end-of-a-url%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.
– Harsh Patel
yesterday
Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?
– Chris Kotsiopoulos
yesterday
I don't know about that. but I guess there isn't any tool for recording.
– Harsh Patel
19 hours ago