--
You received this message because you are subscribed to the Google Groups "Free ARIA Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to free-aria+...@googlegroups.com.
To post to this group, send email to free...@googlegroups.com.
Visit this group at http://groups.google.com/group/free-aria.
For more options, visit https://groups.google.com/groups/opt_out.
<h:selectOneMenu id="local_template" styleClass="sselecthud"
value="#{backing_Bean.Locale}"
onchange="resetForLanguage();"
onkeypress="if (event.keyCode == 13){return false;}"
>
<f:selectItems value="#{backing_Bean.localeList}" />
</h:selectOneMenu>
<t:message id="emailErrorlocal" for="local_template" styleClass="warning" style="margin-left: 2em"/>
javascript code :----
if(document.getElementById('sendNotification:notifyForm:local_template') != null)
{
document.getElementById('sendNotification:notifyForm:local_template').setAttribute("aria-label",document.getElementById('sendNotification:notifyForm:local_template').value);
document.getElementById('sendNotification:notifyForm:local_template').setAttribute("aria-required","true");
document.getElementById('sendNotification:notifyForm:local_template').setAttribute("aria-describedby","sendNotification:notifyForm:emailErrorlocal");
}
if(document.getElementById('sendNotification:notifyForm:emailErrorlocal') != null)
{
document.getElementById('sendNotification:notifyForm:local_template').setAttribute("aria-invalid","true");
document.getElementById('sendNotification:notifyForm:local_template').focus();
}
The same logic works fine with input text box but not with the drop down.
Thanks In Advance,
Bala.
--
You received this message because you are subscribed to a topic in the Google Groups "Free ARIA Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/free-aria/NL7mKLLZeHM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to free-aria+...@googlegroups.com.