When you say your "updating it using AJAX", do you mean you are making an AJAX request and putting the results into oamHeaderDateTimeInfo? Or do you mean you are making an AJAX request who's response is generated by this JSP? If the former, then it makes perfect sense: userData() is a server-side function and would absolutely not be executed again... if the later, we may need further details to know because it certainly appears that it should be working as you expect.

Frank

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
 (2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

Kavita Mehta wrote:
I have a code in JSP file <span id="oamHeaderDateTimeInfo"><%= userDate() %></span>

and I'm updating it using AJAX . but surprisingly, the control doesnt go to this userDate() function again ..due to which my date time is not gettingupdated .
Pls help.


Thanks
Kavita




*****************************************************DISCLAIMER*****************************************************

This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately and delete the message.

********************************************************************************************************************




------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 5/15/2007 10:47 AM

--

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to