Step 4 Calling the Method and Running |
Set the onclick property of the button with the name "Test" to "getMapsList()" to call the getMapsList() method:
<input type="button" value="Test" onclick="getMapsList()" /></input>
Start your iServer (see Managing Services), open HelloREST.html with IE, and click the Text button. You will get the map list from the server: