• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ajax call -unable to dispaly calendar icon

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic