3 $AjaxHelperAlias.GetJavascriptFunctions()
7 Observer field example:
10 Please enter the zip code:<br>
11 <input type="text" name="zip" id="zip">
19 $AjaxHelperAlias.ObserveField("%{field='zip', frequency='2', url='inferaddress.rails', update='address', with='Form.serialize(theform)'}")
24 Observer form example:
27 Fill the field below to create an account:<br>
28 Name: <input type="text" name="name" id="name"> <br>
29 Address: <input type="text" name="addressf" id="addressf">
38 $AjaxHelperAlias.ObserveForm("myform", 2, "accountformvalidate.rails", "message", null)
42 <h4 id="status">Status</h4>
50 $AjaxHelper.BuildFormRemoteTag("AddUserWithAjax.rails", "%{update='userlist'}" )
54 <td><input type="text" name="name"></td>
58 <td><input type="text" name="email"></td>
61 <td colspan="2" align="center">
62 <input type="submit" value="Add">