Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用这个按钮使用 onclick
<input type="submit" value="Invoke" onclick="getDocViewer().nextPage()"> <input type="submit" value="Invoke" onclick="getDocViewer().prevPage()">
但它抛出错误'无法调用未定义的方法'getApi''
我该如何解决 ?
<input type=submit value="Invoke" onclick="$FlexPaper('id_of_the_documentViewer_element').nextPage()"> <input type=submit value="Invoke" onclick="$FlexPaper('id_of_the_documentViewer_element').prevPage()">