put dymanic loading related kernel code and query kernel code into public/static
put dymanic loading related kernel code and query kernel code into public/static. everything in JS need be loaded at frontend from ruling com should be placed here.
This commit is contained in:
1 parent
a0f1220b63
commit
0a6efeb0a2
4 files changed
+17
-11
No files matched your search
@@ -33,17 +33,6 @@
|
||||
<div id="footer" class="footer">
|
||||
This is the footer
|
||||
</div>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
|
||||
<script>
|
||||
$.each($(".dymanic_load"),function(){
|
||||
$(this).load($(this).attr("path"),
|
||||
function(respText,textSta,XML){
|
||||
if(textSta == 'error')
|
||||
{$(this).html("Loading Failed");}
|
||||
});
|
||||
}
|
||||
);
|
||||
</script>
|
||||
<!-- END example -->
|
||||
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user