function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
charucharu 

Problem with Javascript Code in Visualforce Page

Hi All,

How can I use both Javascript Code and Visualforce Page simultaneouly? In my code, whenever I use Javascript code, it creates problem with the Calendar. It donot allow calendar to select the Date.

Please if anyone have any solution for this, let me know ASAP.

Thanks....
Ron HessRon Hess
need more detail to understand why your javascript is affecting the calendar.
charucharu
Hi,

My problem is I am using Calendar functionality in my VF Page. But when I select a date from Calendar, calendar disappear, and it donot show me the date in the text box.

If I remove all the Javascript code from my VF page, Calendar will start working properly.

Please reply ASAP, if you can help me with this.

Thanks.....
Ron HessRon Hess
I can help if i understand all of the javascript you are using.

are you using a framework or javascript files of your own code?
are you using salesforce JS files?

if you list all the JS methods when your javascript code is not present

then list all the methods in your javascript, are there any functions of the same name?

which fragment of javascript when added causes the calendar to fail.

please reduce this to a simple demo app, using accounts and contacts, then post in a SRC box, that will help us help you.