Good day everyone, I'm having a problem with this error (Uncaught ReferenceError: $ is not defined). I called the jquery before using it, but still getting this error. I'm using Edge browser.
This is the error in console:
These are the code in my b4j webapp
Can someone help me with how to fix this? I've searched the forum and the internet but have come up empty-handed.
This is the error in console:
These are the code in my b4j webapp
Main:
srvr.AddWebSocket("/user/login", "Login")
Login:
'WebSocket class
Sub Class_Globals
Private ws As WebSocket
End Sub
Public Sub Initialize
End Sub
Private Sub WebSocket_Connected (WebSocket1 As WebSocket)
ws = WebSocket1
If ws.Session.GetAttribute("access_token") = True Then
WebUtils.RedirectTo(ws, "/dashboard/index.html")
Return
End If
End Sub
Private Sub WebSocket_Disconnected
End Sub
Sub a_resetpassword_Click (Params As Map)
End Sub
Sub a_signup_Click (Params As Map)
End Sub
Sub btnsignin_Click (Params As Map)
WebUtils.RedirectTo(ws, "/dashboard/index.html")
End Sub
Can someone help me with how to fix this? I've searched the forum and the internet but have come up empty-handed.