Forum Post: RE: How to get value from lookup field in "Detailed Search form"?

  • Thread starter Thread starter mzhalbyrov
  • Start date Start date
Status
Not open for further replies.
M

mzhalbyrov

Guest
My method is parse div tag after add new item in lookup field. To get item ID: var sVar = $('a', $('#rtable_opValueDet0').html()).attr ('onclick'); var sUrlVar = $.trim(sVar.split('=')[2]).slice(0,-2); return sUrlVar; If if you need to get item text: var sVar = $('#rtable_opValueDet0').text();

Continue reading...
 
Status
Not open for further replies.
Back
Top