删除 zWeatherFeed jquery 插件中默认位置的天气?

Remove weather of default location in zWeatherFeed jquery plugin ?

如何删除默认位置拉斯帕尔马斯。我在 js 文件中搜索了调用拉斯帕尔马斯天气预报的参数,但找不到。 当我将我的城市 ID 作为两个城市的参数天气显示时。

您必须编辑雅虎城市代码

<script type="text/javascript">
$(document).ready(function () {
    $('#test').weatherfeed(['XXXX0977'], {
        forecast: true
    });
});
</script>

XXXX0977 是您需要更改的城市代码。