Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Archer v6.2 get selected value of value list

lokeshkumar449
Contributor III

Archer v6.2 get selected value of value list

i tried your many ways using Jquery it worked in 5.x but not in 6.2

$("#s1 option:selected").val();

$("#dropDownId").children("option").filter(":selected").text()
$("#item1 span").text();

 alert($(this).find('span').text());

3 REPLIES 3

lokeshkumar449
Contributor III

i added the CSS class check and able to get the value but want to get with ID rather than class.

jsol5
Advocate II

If you know how to use the browsers console window try finding your field.  Make sure the ID you are using is right.**

If you think the ID is right, then from the console window, run your jquery to check your results.

If it doesn't work there, it won't work in your custom object.

 

**The field ID you posted in your question is very generic.  In Archer, the same field could have several different variations of the ID that contains different data.

 

 

Also, just making sure you know there is a difference in finding a field when the record is in edit mode vs. view mode.

 

It might work better to explain if you post a snapshot of your field from the browsers developer/debug window.

yeah i was able to do it with * missed to add solution here.