Hello
I am doing maintenance on a web server, and have several js files present which I need to categorize. However, I am faced with the dilemma of identifying between clientside js files and severside ones.
Is there a distinct way to identify between these files?
Ritesh_4
71
Posting Pro
Recommended Answers
Jump to PostCan you clarify what you mean by client vs server is files?
If you have a script element with a src attribute, the file is stored remotely but downloaded by the user agent then processed locally.
Jump to PostBut if you are talking about scripts that contact the server (i.e. AJAX), you will have to do text search for xmlhttp (or ActiveX for older version) string or ajax() in JQuery, which is usually used in Ajax call, inside your js file. The text search part is trivia by …
All 5 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Taywin
312
Posting Virtuoso
veedeoo
474
Junior Poster
Featured Poster
Ritesh_4
71
Posting Pro
Airshow
416
WiFi Lounge Lizard
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.