aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes ajax call -unable to dispaly calendar icon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "ajax call -unable to dispaly calendar icon" Watch "ajax call -unable to dispaly calendar icon" New topic
Author

ajax call -unable to dispaly calendar icon

sdeep anand
Greenhorn

Joined: Jul 16, 2006
Posts: 7
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

Joined: Jan 10, 2002
Posts: 61768
    
  67

The fact these files are JSP files is irrelevant to what is happening on the client. Moved to the HTML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ajax call -unable to dispaly calendar icon