• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax call -unable to dispaly calendar icon

 
sdeep anand
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a opp.jsp which has javascript to load a calendar icon and display it next to a text box.
[CODE]
<script language= "javascript">
var cxCalObj = new cxCal('cxCalObj', 'endDateFrom', '');
cxCalObj.initialize();
cxCalObj.onClose = function() {
}
var cxCalObj1 = new cxCal('cxCalObj1', 'endDateTo', '');
cxCalObj1.initialize();
cxCalObj1.onClose = function() {
}
</script>


I call ajax fuction to refresh part of the opp.jsp. So I use another subF.jsp for this.(this jsp contains part of opp.jsp that has to be refreshed). I get all the data but only problem is I dont see the calendar icon next to the text boxes when i call the ajax function.
I heard that ajax does not support javascript. i tried including the same script in subF.jsp, but it does not work.

Is there any way that i can show the calendar icon when I use the ajax call?

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The fact these files are JSP files is irrelevant to what is happening on the client. Moved to the HTML forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic