Hi, I have added a keypress event as [CODE] jQuery('#body').keypress(function(){currentTime= new Date().getTime(); });[/CODE] but when I open a pop up window which have a iframe contains a rich text area not capturing this event. Any ways to handle parent event in child element? Any suggestion?

Member Avatar
+0 forum 0

hii.. I want to use a scriplet variable in javascript. i used <%! int i;> <% i=0; %> <input type="text" id="itemValue" onchange=changeValue('<%i%>')> it works fine if i give alert(i) in changeValue function. Otherwise it gives error i is undefined. Plz help me. I don't want to bother user by increasing one user click. Plz help what is the reason ???? i m using struts 1.2 :confused:

Member Avatar
Member Avatar
+0 forum 10

SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.mail.pop3.POP3Message I am not getting why this exception has occurred.It throws the exception when i starts tomcat server. I have used recieve() method in LoginAction which is used to recieved mails using POP3 protocol. I am using JAVAMAIL 1.4

Member Avatar
Member Avatar
+0 forum 3

Hello' I m using struts 2.0 . I want a comboBox(<s:select>) on Jsp. bean i want to populate in combobox is nested. I only know list property of <s:select> but my list is nested. How can i populate combobox with nested arraylist.

Member Avatar
Member Avatar
+0 forum 2

hi.. I am using struts 2.. I want tabs on my jsp and my code is.. On first Jsp i used to create tabs which works fine for me. [code=JSP]<s:tabbedPanel id="test" labelposition="middle" > <s:iterator value="teamlist"> <s:url id="resultsUrl" action="navigateChangeTeamAction.action" > <s:param name="teamCode" value="teamCode" /> <s:param name="teamName" value="teamName"></s:param> </s:url> <s:div label="Team2" theme="ajax" labelposition="center" href="%{resultsUrl}"> </s:div> </s:iterator> </s:tabbedPanel>[/code] after executing navigateChangeTeamAction.action now on my tabbed jsp code is as... [code=JSP] <s:select name="teamEmpNameCombo" id="teamEmpNameCombo" list="teamEmployeelist" listValue="employeeName" headerKey="1" headerValue="Select" multiple="true" cssStyle="width:130;font-size:15;" onchange="select(this.form);" theme="simple" > </s:select>[/code] but onchage javascript function select() not called. not giving any error. if i put alert("Hi"); instead of select() it gives …

Member Avatar
Member Avatar
+0 forum 7

The End.