Hi Ramkrishna, Try following- var lookupDivs = $("div[id$=_lookupId]"); $(lookupDivs);
OR var lookupForms = $("form[id$=_lookupId]"); $(lookupForms); Where expected lookupid would be : 0_lookupId, 1_lookupId, ..... -- Thanks and Regards Sumit Pandit +91-750-304-6188 ----- Original Message ----- | From: "Ramkrishna Swamy" <ramkrishna.swamyof...@gmail.com> | To: "user" <user@ofbiz.apache.org> | Sent: Thursday, December 26, 2013 2:20:28 PM | Subject: How to get value of lookup in javascript | | Hello Users, | | I have a requirement to use javascript on lookup value, I tried using | jQuery('#id").val() and docuement.getElementById('id').value but both | are not working and I am getting null value. Please suggest me how | can | I get value of lookup. | | -- | Thanks | Ramkrishna | =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you