We have to set up and internal server that does not have access to internet.
However, we have make to accessible at home.
Now we have the new internal server A and an external server B, which has internet access.
This is how we did to make B as the bridge, so that we can ssh to A, and transfer files to A, and make A connect to internet.
However, the most meaningful one, which gets more and more people involved, is its plugin mechanism.
like, you have a plugin:
* the original plugin, to add s and t to the element text.
* you can call $("p").pg(1, 2) for existing elements,
* however it doesn't work for futher/live elements,
* such like <p>33333</p> in this example, which is added later dynamically.
$(this).text(parseInt($(this).text())+ s + t);}).next().text(// how many times I have been bound to the element.
, which takes no effects on further added "p" elements.
Following code has been tested with jQuery 1.3.2 version .
The super popular live method was added to jQuery 1.3 . It works just great. Except when it does not work. As per the documentation this method does not work in following cases: blur, focus, mouseenter, mouseleave, change, submit .