PDA

View Full Version : javascript calendar popup problems



mschwery
Mar 16th, 2012, 05:32 PM
I have an app that I want to put a javascript popup calendar in.
If I put the code for the javascript in the web page it works fine.
If I put the javascript source file in the same directory as the web page the pop up calendar doesn't work.

Can someone help me figure this out or give me some ideas to try.

Thanks

rv2n
Mar 17th, 2012, 03:06 AM
Hi,

It seems you web page does not access to js source file. so possibly you need to add that js into web page in the following fashion.

<script type="text/JavaScript" src="../scripts/JS_file_name.js"></script>

Thanks,
VIneet

mschwery
Mar 19th, 2012, 01:03 PM
Yep, I added a similar line and now it works.