๊ฐ๋ฐ์ ๋๊ตฌ์์ ํ์ธํด๋ณด๋ฉด ๊ฐ์ด ์ ๋ค์ด๊ฐ๋ ๊ฒ์ผ๋ก ํ์ธ๋๋๋ฐ
Uncaught ReferenceError : ${value} is not defined at HTMLButtonElement.onclick ๋ผ๋ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
์๋ฐ์คํฌ๋ฆฝํธ์์ ๋ฌธ์์ด์ธ ๊ฐ์ ๋๊ธธ ๋๋ ' ' ์ฑ๊ธ์ฝํ
์ด์
๋งํฌ๋ก ๊ฐ์ธ์ฃผ์ด์ผ ํ๋ค๊ณ ํจ!
productNo ๋ int ๊ฐ์ด๋ผ ์ฑ๊ธ์ฝํ
์ด์
๋งํฌ๊ฐ ์์ด๋ ๊ฐ์ด ์ ๋์ด๊ฐ๊ธฐ ๋๋ฌธ์ ๋ ๋ชป์ฐพ์๋ค.
์์ฃผ ๊ธฐ์ด์ ์ธ ๋ฌธ์ ์๋๋ฐ ์๊ฐ์ ๋๋ฌด ๋นผ์๊น.
<!-- ์๋ฌ๋ฐ์ ์ฝ๋ -->
<button type="button" name="reserveBtn" style="display: none;"
onclick="addWishlist(this, ${prd.productNo}, ${sessionScope.u.userId})">
</button>
<!-- ์์ ์ฝ๋ -->
<button type="button" name="reserveBtn" style="display: none;"
onclick="addWishlist(this, ${prd.productNo}, '${sessionScope.u.userId}')">
</button>
'Error๐ซ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[์๋ฌ] Spring / There is no getter for property named (1) | 2022.12.23 |
---|---|
[์๋ฌ] the markup in the document following the root element must be well-formed (web.xml) (0) | 2022.10.28 |