文章詳情頁
JSP Tag Library-AjaxTags 1.0, released
瀏覽:114日期:2024-06-02 11:55:33
AjaxTags 1.0, released..AJAX Tag Library,包含一套JSP 標(biāo)簽,能夠讓你更簡單的在jsp頁面中使用Asynchronous JavaScript 和XML (AJAX) 技術(shù)。標(biāo)簽庫為比較通用的AJAX功能提供了5個標(biāo)簽: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 標(biāo)簽的使用如下:在一個HTML form里,使用一個普通的input field:<input name='model' type='text' autocomplete='off' size='30' />然后,在jsp頁面中,制定使用autocomplete 標(biāo)簽,并引用該input field:autocomplete.view 請求將被轉(zhuǎn)發(fā)到一個繼承自BaseAjaxServlet的servlet, 這個servlet會返還預(yù)定格式的數(shù)據(jù),這是一項標(biāo)準(zhǔn)的AJAX應(yīng)用。官方網(wǎng)站:http://ajaxtags.sourceforge.net/
標(biāo)簽:
JavaScript
相關(guān)文章:
1. .Net Core和RabbitMQ限制循環(huán)消費的方法2. jsp網(wǎng)頁實現(xiàn)貪吃蛇小游戲3. asp(vbs)Rs.Open和Conn.Execute的詳解和區(qū)別及&H0001的說明4. ASP.NET MVC遍歷驗證ModelState的錯誤信息5. 用css截取字符的幾種方法詳解(css排版隱藏溢出文本)6. ASP 信息提示函數(shù)并作返回或者轉(zhuǎn)向7. asp中response.write("中文")或者js中文亂碼問題8. PHP設(shè)計模式中工廠模式深入詳解9. CSS hack用法案例詳解10. 將properties文件的配置設(shè)置為整個Web應(yīng)用的全局變量實現(xiàn)方法
排行榜
