Ajax without JavaScript

后端 未结 11 2624
Happy的楠姐
Happy的楠姐 2020-12-10 13:18

As JavaScript can be disabled in the browser by the user, I wonder if there is any way of developing an Application which uses Ajax but it doesn\'t use Javascript, so even i

11条回答
  •  自闭症患者
    2020-12-10 13:41

    The limitation is the 'j' in Ajax. You need JavaScript to do Ajax - there's no way to update page content without it.

    You should always try to design your Ajax applications so that links have a non-ajax fallback wherever possible. So if you have a link which updates a div with new data, when JavaScript is turned off that link will lead to a new page which has that div updated.

提交回复
热议问题