-2
,當我使用錨標籤傳遞的查詢字符串我讓我的url,但問題產生的查詢字符串是有processorId = 51重複twise 我的字符串來了一樣, MonthlySettlementAlgorithm/MonthlySettlementResultviewByDate?processorId = 51 & bankId = 51 & bankId = 2866錯誤使用錨標記
,但我預計
MonthlySettlementAlgorithm/MonthlySettlementResultviewByDate?processorId = 51 & bankId = 2866
請給我這個
+ "<li><a target='_blank' href='/MonthlySettlementAlgorithm/MonthlySettlementResultviewByDate?processorId=' >View By Date</a></li>"
+ "<li><a target='_blank' href='/MonthlySettlementAlgorithm/MonthlySettlementResultViewByBank?processorId=' >View By Bank</a></li>"
Jquery Code
$('.dropdown-menu.features li a').each(function() {
if ($(this).attr('href'))
{
$(this).attr('href', $(this).attr('href') + selectedProcessorIds +'&bankId='+ selectedBankIds);
}
});
設置'HREF液='/ MonthlySettlementAlgorithm/MonthlySettlementResultviewByDate''最初,當你建立了'在JS了'標籤。 – Shyju
我已經試過這一行,但我沒有得到確切的 –