jquery how to include .js files -


when checking stackoverflow or flipkart.com website code view source in browser, saw

<script type="text/javascript">     stackexchange.init({         "locale": "en",         "stackauthurl": "https://stackauth.com",         "servertime": 1391174565,         "stylecode": true,         "enableuserhovercards": true,         "site": {             "name": "stack <br/>overflow",             "description": "q&a professional , enthusiast programmers",             "isnoticestabenabled": true,             "recaptchapublickey": "6ldchgiaaaaaajwgpizrqsofao0pu6s44xt8atwc",             "recaptchaaudiolang": "en",             "nonasciitags": true,             "enablesocialmediainsharepopup": true         },         "user": {             "fkey": "64a9dd799b4d7de695f9ab92904f258d",             "isanonymous": true         }     });     stackexchange.using.setcachebreakers({         "js/prettify-full.en.js": "e0bbd4760e83",         "js/moderator.en.js": "f24049d774be",         "js/full-anon.en.js": "9f2bf11519b2",         "js/full.en.js": "9fbd88448c92",         "js/wmd.en.js": "849f408083f3",         "js/third-party/jquery.autocomplete.min.js": "e5f01e97f7c3",         "js/third-party/jquery.autocomplete.min.en.js": "",         "js/mobile.en.js": "f979992d139c",         "js/help.en.js": "d3cc74d8a93a",         "js/tageditor.en.js": "6d51a5f8d7f3",         "js/tageditornew.en.js": "5761dfb80bd0",         "js/inline-tag-editing.en.js": "f951bd09dc69",         "js/revisions.en.js": "33fd38144303",         "js/review.en.js": "44c8a0044283",         "js/tagsuggestions.en.js": "e4e7b952fcc7",         "js/post-validation.en.js": "c275fe37d674",         "js/explore-qlist.en.js": "73825bd006fc",         "js/events.en.js": "c3218f63807f"     }); < br / > stackexchange.using("gps", function () { < br / > stackexchange.gps.init(true); < br / >     }); < br / > </script> 


want develop web application include .js file pattern

please

thanks

actually these based on custom javascript files. if you're going create website of own, can create custom js plugin. create methods , execute them on own usage!

you might see example of jquery source code:

$(document).ready(function () {    // remaining methods in this! }) 

similar thing se source code. initializing code , letting user have chance play methods!

as far stackexchange , flipcart concerned, have team of developers working create these plugins. matter of time , team work work!

so, better first learn how , when javascript loaded rather creating plugin this!

good luck.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -