You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<input name="btn_SetBodyValue" type="submit" value="Click to send data" />
70
+
</form>
71
+
</body>
72
+
</html>'
73
+
))
74
+
}, error=function(e) {
75
+
# Print detailed error information
76
+
message("An error occurred: ", e$message)
77
+
traceback()
45
78
})
46
-
}
79
+
}
80
+
)
47
81
48
-
shinyApp(ui=ui, server=server)
82
+
# Start the server
83
+
server<- startServer("127.0.0.1", 8080, app)
49
84
```
50
85
51
86
In the upper part of the View file, it is first checked whether the submit button has been clicked or not, if it has been clicked, an instance of the WebForms class is created, then the WebForms methods are called, and then the response method is printed on the screen, and other parts Views are not displayed.
@@ -55,4 +90,4 @@ As you can see, the WebFormsJS script has been added in the header section of th
55
90
56
91
The latest version of the WebFormsJS script is available through the link below.
0 commit comments