目前分類:jQuery (2)
- Mar 12 Wed 2014 13:28
When use jQuery databTables after add action reload server ajax return
- Mar 10 Mon 2014 10:57
[jQuery] What is jQuery.mockjax?
The Mockjax plugin for jQuery provides a decoupled non-invasive way to mock (or simulate) ajax requests throughout your application. It is possible to completely simulate the Ajax request/response cycle without any network traffic and without changing any production code. Below are a list of steps for making using of mockjax.
Include jquery.mockjax.js jQuery Plugin
Optionally include json2.js if not natively supported by your browser.
Include jquery.xmldom.js if you're mocking XML inline.
Include jquery.mockjax.js jQuery Plugin
Optionally include json2.js if not natively supported by your browser.
Include jquery.xmldom.js if you're mocking XML inline.