7#ifndef JAVASCRIPTEXAMPLE_H_
8#define JAVASCRIPTEXAMPLE_H_
10#include <Wt/WApplication>
An example showing how to interact custom JavaScript with Wt stuff.
Popup * promptAmount_
Popup for changing the amount.
void confirmed()
The user has confirmed the payment.
WText * currentAmount_
WText for showing the current amount.
void setAmount(std::string amount)
Set the amount to be payed.
Popup * confirmPay_
Popup for paying.