Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » about browse.evaluate()
about browse.evaluate() [message #853361] Sun, 22 April 2012 20:52 Go to next message
Eclipse UserFriend
String html = "<input type=\"text\" name=\"fileName\" id=\"fn\"/>";
browser.setText(html);
browser.addProgressListener(new ProgressListener() {
@Override
public void completed(ProgressEvent event) {
fileName = (String) browser.evaluate("return
document.getElementById('fn').value;");

}

@Override
public void changed(ProgressEvent event) {
}
});

How can get the value?
Re: about browse.evaluate() [message #853381 is a reply to message #853361] Sun, 22 April 2012 21:23 Go to previous message
Eclipse UserFriend
Above can only get the static value, how to get the dynamic value?
Previous Topic:Multiple RAP applications within <iframe>
Next Topic:swt browser class, how to get the value of the html controls
Goto Forum:
  


Current Time: Fri Jun 13 10:22:02 EDT 2025

Powered by FUDForum. Page generated in 0.04588 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top