I am currently working on an ASP.NET page that is written in VB.NET and I am attempting to incorporate JavaScript into it. The goal is to take the value from one listbox and insert it into another listbox. One of the challenges I'm facing is the use of a master page.
Below is the JavaScript code:
// Function definitions
Additionally, here is the code snippet from the control:
<asp:Button ID="btnMoveAll" Text=" >> " CssClass="button7" CausesValidation="false"
ONCLICK="opt.transferRight()"
runat="server" /><br />
Despite the efforts made, the functionality does not seem to be working as intended. An error message stating "'opt' is not a member of the page" keeps appearing. Could someone provide guidance on how to correctly implement this code?