I didnt understand , when you mentioned "pass the form".
THe code I have is :
[CODE=java]function checkScheduledD ate()
{
var scheduledTime = document.getEle mentById("start timeScheduler") ;
if(scheduledTim e == null)
{
return false;
}
}
<h:form>
...
<t:div id="contents_st arttime_div" styleClass="con tents"...
User Profile
Collapse
-
-
document.getElementById("starttimeScheduler") returns null
Hi, I am working on a webapplication, ( with Ajax & JSF) where I want to retrieve the value present in aby usingCode:<t:inputText id="starttimeScheduler" value="#{scheduledJobCreateEdit.startTimeDate}" style="width:165px; margin-left: 25px;" forceId="true" tabindex="112">in my javascript function. but this is always returning null....Code:document.getElementById("starttimeScheduler")
No activity results to display
Show More
Leave a comment: