html 当在亚马逊页面上时,单击链接以提示输入数字以过滤所选折扣百分比或更高的项目。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 当在亚马逊页面上时,单击链接以提示输入数字以过滤所选折扣百分比或更高的项目。相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<a href="javascript: 
var percent = prompt('enter a lower-bound percentage for the discount');
window.location=window.location + '&field-pct-off=' + percent + '-';
">Amazon</a>
</body>
</html>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<a href="javascript: 
var lower = prompt('enter a lower-bound percentage for the discount');
var upper = prompt('enter an upper-bound percentage for the discount');
window.location=window.location + '&field-pct-off=' + lower + '-' + upper;
">Amazon2</a>
</body>
</html>

以上是关于html 当在亚马逊页面上时,单击链接以提示输入数字以过滤所选折扣百分比或更高的项目。的主要内容,如果未能解决你的问题,请参考以下文章