inc: A super-tiny client-side include JavaScript jQuery plugin
Edit
although you can always use pure jQuery to do a client side include of html snippet in to another html by
- $(document).ready(function(){
- // find element with ID of "target" and put file contents into it
- $('#target').load('examples/jquery/load/my-include-file.inc');
- });
There is this little jQuery plugin that could make the job clear.
inc: A super-tiny client-side include JavaScript jQuery plugin
after loading that plugin, the code could become something like
inc: A super-tiny client-side include JavaScript jQuery plugin
Reviewed by DF
on
12:57:00 AM
Rating: