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