7 #ifndef JAVASCRIPTEXAMPLE_H_ 8 #define JAVASCRIPTEXAMPLE_H_ 10 #include <Wt/WApplication.h> 38 void setAmount(std::string amount);
55 #endif // JAVASCRIPTEXAMPLE_H_ WText * currentAmount_
WText for showing the current amount.
std::unique_ptr< Popup > promptAmount_
Popup for changing the amount.
std::unique_ptr< Popup > confirmPay_
Popup for paying.
An example showing how to interact custom JavaScript with Wt stuff.