I have a input field with date
date = 1/16/2013 (in the form of inputtext)
whenever I change this input text their is an another output text where this value should reflect
date1 = 1/16/2013 (in the form of outputtext)
so whenever date is changed date1 should be rendered accordingly.
how can I get it with javascript.
<script>
function invoicedate(){
var transaction = jQuery.trim(jQuery(".transaction").val());
// alert(transaction);
}
</script>
<apex:page>
<apex:pageblocksection>
date
<apex:inputText value="{!ChargeDate}" styleclass="transaction" onblur="invoicedate"/>
date1
<apex:outputlabel value="{!chargedate}" styleclass="transaction" />
</apex:pageblocksection>
</apex:page>