文章詳情頁
JSP Tag Library-AjaxTags 1.0, released
瀏覽:75日期:2024-06-02 11:55:33
AjaxTags 1.0, released..AJAX Tag Library,包含一套JSP 標簽,能夠讓你更簡單的在jsp頁面中使用Asynchronous JavaScript 和XML (AJAX) 技術。標簽庫為比較通用的AJAX功能提供了5個標簽:autocomplete: retrieves a list of values that matches the string entered in a text form field as the user typescallout:displays a callout or popup balloon, anchored to an HTML element with an onclick eventSelect/dropdown: based on a selection within a dropdown field, a second select field will be populatedtoggle: switches a hidden form field between true and false and at the same time switches an image between two sourcesupdate field: updates one or more form field values based on response to text entered in another fieldautocomplete 標簽的使用如下:在一個HTML form里,使用一個普通的input field:<input name='model' type='text' autocomplete='off' size='30' />然后,在jsp頁面中,制定使用autocomplete 標簽,并引用該input field:autocomplete.view 請求將被轉發到一個繼承自BaseAjaxServlet的servlet, 這個servlet會返還預定格式的數據,這是一項標準的AJAX應用。官方網站:http://ajaxtags.sourceforge.net/
標簽:
JavaScript
相關文章:
排行榜
