Project

General

Profile

Support #1381 ยป jquery-ui.cpp

Boris Nagaev, 07/30/2012 08:52 PM

 

#include <Wt/WApplication>
#include <Wt/WText>

using namespace Wt;

class App : public WApplication {
public:
App(const WEnvironment& env):
WApplication(env) {
//require("http://code.jquery.com/jquery-1.7.2.min.js");
require("http://ajax.microsoft.com/ajax/jquery.ui/1.8.5/jquery-ui.js");
new WText("Ok", root());
}
};

WApplication* createApp(const WEnvironment& env) {
return new App(env);
}

int main(int argc, char** argv) {
return WRun(argc, argv, &createApp);
}

    (1-1/1)