By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,607 Members | 1,983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,607 IT Pros & Developers. It's quick & easy.

how to reference js code in two locations

P: n/a
Hi

Example: I have an aspx page with several fields and a grid. When I
click on the grid i use js
to poulate the form layout. I have maybe 15 different forms each with a
different table. I have a lot of common js code that I put in a
separate file. I have a function in that file that needs t obe specific
to each webform because the data is different. so in the separate js
file from a common function I want to call
PopulateSpecificForm(DataRow) and put that method in each webform.
It doesnt work? any ideas?
Gary

Jul 8 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ga**********@gmail.com wrote:
Hi

Example: I have an aspx page with several fields and a grid. When I
click on the grid i use js
to poulate the form layout. I have maybe 15 different forms each with a
different table. I have a lot of common js code that I put in a
separate file. I have a function in that file that needs t obe specific
to each webform because the data is different. so in the separate js
file from a common function I want to call
PopulateSpecificForm(DataRow) and put that method in each webform.
It doesnt work? any ideas?
Gary
Gary,

I made a program that displays the contents of an order placed on some
webshop by a client.
I call the function showShoppingBasket(userid) and it doesn't work.
Any ideas?

....

I am polishing my crystal ball, but I still cannot see your code...

Regards,
Erwin Moller
Jul 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.