Minifying a .js file shouldn't affect how you call functions in that file. Simply call them as you normally would.
In your case, I think you'd want to embed a function call with the required parameter in the generated source for each page. Or did I miss something? If so, explain in more detail... -Mike On Tue, Mar 15, 2011 at 9:30 AM, Wilkins <[email protected]> wrote: > I have an AJAX function located in an external JS file that needs to > be called per page to load specific data. Each page has a value that > needs to be passed into this function. When my files get minified, how > can I call that same function on each page? > Should I be taking a different approach to this? > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
