Custom JS Function Group Snippet


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. jQuery.noConflict();
  2. jQuery(document).ready(function($) {
  3.  
  4. var MyProject = {
  5. init: function() {
  6. MyProject.doSomething();
  7. },
  8. doSomething: function(){
  9. //do Something
  10. }
  11. }
  12.  
  13. MyProject.init();
  14. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.